Compare commits

..

3 Commits

Author SHA1 Message Date
Tim Van Baak 243df40ac7 Add stopgap pytest.ini 2021-05-31 15:12:43 -07:00
Tim Van Baak 1df96107a1 Reduce test output 2021-05-31 15:12:33 -07:00
Tim Van Baak 1268b53d2a Add character backend 2021-05-31 15:09:26 -07:00
1 changed files with 2 additions and 2 deletions

View File

@ -69,5 +69,5 @@ def test_character_limits(db: DbContext, lexicon_with_editor):
# Setting the limit to null should allow a third character
lexicon.character_limit = None
db.session.commit()
char3 = charq.create(db, lexicon.id, user.id, 'Test Character 3', signature=None)
assert char3.id, 'Failed to create character 3'
char2 = charq.create(db, lexicon.id, user.id, 'Test Character 3', signature=None)
assert char2.id, 'Failed to create character 3'