Commit Graph

8 Commits

Author SHA1 Message Date
Vincent Maillol cb1ca8a671 Allow to use decorators with web.View class 2018-04-15 09:19:32 +02:00
Andrew Svetlov 5b2ff779c3 Switch to async/await syntax 2017-12-13 16:51:46 +02:00
Andrew Lytvyn 92e6fec6f5 is_anonymous, login_required, has_permission helpers (#114)
* add is_anonymous helper function and login_required, has_permission decorators

* add docs for `is_anonymous`, `login_required` and `has_permission` functions

* permission can be `enum.Enum` object; cover with tests

* isort fix
2017-11-17 17:51:40 +02:00
Andrew Svetlov 0a7ec47274 Fix tests 2016-09-27 17:57:11 +03:00
Andrew Svetlov 8f527777f3 Convert test_dict_autz into pytest style 2015-11-19 14:07:06 +02:00
Andrew Svetlov 1a7489354b Fix tests 2015-07-29 23:58:55 +03:00
Andrew Svetlov 1aff330216 Run test server in non-debug mode to prevent noisy reports 2015-07-08 20:45:00 +03:00
Andrew Svetlov 7c702e5df9 Initial commit 2015-07-08 20:30:24 +03:00