Expanded database testing

- Tested Submission.count descriptor
- Tested Submission.clear_other_votes
- Expanded Submission.advance testing to include exceptions, Submission
.active, Submission.completed and Submission.voting
- Changed db model __repr__ implementations to use f-strings
- Fixed Submission.update force kwarg not implemented.
- Small formatting changes, new TODO, noinspection on protected access
- Votes setter now removes duplicate keys (maintains order)
- Removed 'aiosqlite' from Pipfile general package requirements
This commit is contained in:
Xevion
2021-02-19 03:29:53 -06:00
parent 63f4c594b7
commit b311700356
4 changed files with 88 additions and 22 deletions

View File

@@ -7,7 +7,6 @@ verify_ssl = true
[packages]
discord = "~=1.0.1"
aiosqlite = "~=0.16.1"
pytest = "*"
pytest-asyncio = "*"
sqlalchemy = "*"