Commit Graph

14 Commits

Author SHA1 Message Date
Robin Malley 37a9bbd63d Use random usernames to unittest
Don't replace the database with a unittest database, just use
the usual database and user randomly generated usernames so we
don't have collisions.
2021-09-12 16:26:09 +00:00
Robin Malley d5a3197262 Add logging levels for unit tests
Add logging levels for the mock environment for unit tests. Values
map to a string name instead of an integer like in the normal
environment.
2021-09-12 16:24:43 +00:00
Robin Malley 1ddd446297 Add some unit tests to search parser.
Add some unit tests that ensure the search parser is outputting
search parameters that look correct.
2021-09-11 21:51:22 +00:00
Robin Malley a16f2dfe02 Mark unit test as slow.
Mark a test as slow that runs fuzzing.
2021-09-11 21:46:23 +00:00
Robin Malley ffc34295e9 Add a log in the mock environment
Add a function that implements `log()` in the mock environment.
2021-09-11 21:45:29 +00:00
Robin Malley e0a8e01513 Move some tests to pending
Write a bunch of unit tests and mark some of them as pending.
2021-09-11 21:44:57 +00:00
Robin Malley 41f68f45b8 Add more tests 2021-08-27 01:09:29 +00:00
Robin Malley 58565bc088 Remove extra print statements. 2021-04-04 05:14:53 +00:00
Robin Malley 73df8d400e Updates to imageboard parser 2021-04-04 05:13:09 +00:00
Robin Malley ec00fcaf08 Fix unit tests
Fix sanity unit tests, and do a lot more random testing
2021-02-03 04:30:27 +00:00
Robin Malley 2c732db22d Fix make test 2021-01-16 21:01:31 +00:00
Robin Malley 02efaf9631 Update tests 2021-01-16 20:58:04 +00:00
Robin Malley b1b7b45e80 Started testing 2020-12-23 06:02:02 +00:00
Robin Malley a640096bdd More work on refactor 2020-12-21 04:22:22 +00:00