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
Nickolai Novik
d652f29df5
make compatible tests
2017-03-22 00:10:14 +02:00
Andrew Svetlov
0a7ec47274
Fix tests
2016-09-27 17:57:11 +03:00
Misha Behersky
820dcc8d93
Create working demo ( #5 )
...
* Add docs example and update demo source code
* Fail with debug
* Fix tests
* Update sql scripts
* Update docs
* Add checking for the password
* Update documentation with launch/usage example
* Launch flake8 instead of pep8 and pyflakes
2016-08-30 20:38:59 +03:00
Andrew Svetlov
52d5513838
Add session identity
2015-11-19 15:25:10 +02:00
Andrew Svetlov
ab2ef11bf1
Convert test_cookies_identity into pytest style
2015-11-19 14:36:15 +02:00
Andrew Svetlov
688df9d2d2
Convert test_no_identity into pytest style
2015-11-19 14:17:34 +02:00
Andrew Svetlov
8f527777f3
Convert test_dict_autz into pytest style
2015-11-19 14:07:06 +02:00
Andrew Svetlov
e29666cea9
Convert test_no_auth into pytest style
2015-11-19 13:53:38 +02:00
Andrew Svetlov
29869c710f
Add test for remember/forbid when library was not setted up
2015-08-05 13:32:49 +03:00
Andrew Svetlov
ff8ecf06da
Return authenticated anonymous if library was not setted up
2015-08-04 21:19:01 +03: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