Skip to content

Commit 6681e81

Browse files
committed
Validate that teams are stored with uploads
1 parent 92ce697 commit 6681e81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/tests_app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,12 @@ def test_upload_file(self) -> None:
136136
"Wrong username stored in the database",
137137
)
138138

139+
self.assertEqual(
140+
['SRZ'],
141+
[x['team'] for x in archives],
142+
"Wrong team stored in the database",
143+
)
144+
139145
def test_upload_bad_file(self) -> None:
140146
response = self.session.post(
141147
'/upload',

0 commit comments

Comments
 (0)