aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/decorators.py (follow)
Commit message (Collapse)AuthorAgeLines
* Add error messages (#30)Gravatar Joseph2018-02-28-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add error messages Signed-off-by: JoeBanks13 <[email protected]> * Remove un-used keyword arg from 404 * Assert for status code instead of full content * PEP8 * test lint * please coverage * oh * Exclude websockets.py from coverage * Move code output into terminal * Switch typewriter href protocol * Add tests for websockets.py * Abort previous commit, coveralls did not let coverage go down * Add more pauses and request => response * move css and js out, add typewriter JS to our own repo & add method for appending text in bulk. * Enable REPL on 4XX and change error descriptions * commas * /error path
* brings coverage to 90% (#24)Gravatar Christopher Baklid2018-02-26-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * brings coverage to 75% * satisfy flake8 * missing docstring added * one more test * artificially inflate coverage because python acts strange * testing decorators * fixed instantiation of test route * straggling newlines from debugging code * remove debug comments * restructure tests into logical class separations. more exlusions. more tests * testing websocket echo tests * added missing comment * convert single quotes to double quotes to satisfy docstrings
* API_KEY -> BOT_API_KEYGravatar Gareth Coles2018-02-16-1/+1
|
* API schema validation decorator #yzuf (#15)Gravatar Gareth Coles2018-02-16-4/+71
| | | | | | | | | | * API schema validation decorator * Remove stray comma * Remove unnecessary conditional * Only cast to list when needed to
* Fix up API key validation and database api locationGravatar Gareth Coles2018-02-15-1/+3
|
* Move API validation decorator to its own file #yxdkGravatar Gareth Coles2018-02-15-0/+21