summaryrefslogtreecommitdiff
path: root/server/szurubooru/tests/func/test_snapshots.py
AgeCommit message (Collapse)Author
2021-09-23server/tests: use transactional db for faster unit testsShyam Sunder
* `test_modify_saves_non_empty_diffs` needs non-transactional db, so moved to seperate file * Replaced incompatable usage of `db.session.rollback()` with parametrerized function calls * xfail conditionals for search removed, as we can no longer get current driver with binds * Also remove usage of deprecated `pytest.yield_fixture`
2020-08-13server: API support for webhooksShyam Sunder
Closes #339
2020-06-06client+server: implement code autoformatting using prettier and blackShyam Sunder
2020-03-06server/tests: use postgresql test databaseShyam Sunder
2017-02-05server: refactor + add type hintingrr-
- Added type hinting (for now, 3.5-compatible) - Split `db` namespace into `db` module and `model` namespace - Changed elastic search to be created lazily for each operation - Changed to class based approach in entity serialization to allow stronger typing - Removed `required` argument from `context.get_*` family of functions; now it's implied if `default` argument is omitted - Changed `unalias_dict` implementation to use less magic inputs
2016-08-26server/general: disable autoflushrr-
2016-08-16server/snapshots: rewriterr-
2016-08-14server/general: embrace most of PEP8rr-
Ignored only the rules about continuing / hanging indentation. Also, added __init__.py to tests so that pylint discovers them. (I don't buy pytest's BS about installing your package.)
2016-08-14server/tags: don't auto-create tag categoriesrr-
2016-07-17server/posts: fix relations bidirectionalityrr-
2016-07-03server/posts: make relations bidirectionalrr-
2016-05-22server/tags: let mods set default categoryrr-
2016-04-30server/general: refactor method namesrr-
2016-04-22server/posts: add post featuringrr-
2016-04-21server/snapshots: change snapshot representationrr-
2016-04-20server/general: rename 'util' to 'func'rr-