✨ Added new tests and fixed small bugs
This commit is contained in:
@@ -35,6 +35,9 @@ class ValueStorage:
|
||||
image_id = None
|
||||
cookies = None
|
||||
file_id = None
|
||||
quiztivity_id = None
|
||||
share_id = None
|
||||
expired_share_id = None
|
||||
|
||||
|
||||
example_quiz = {
|
||||
@@ -64,6 +67,19 @@ example_quiz = {
|
||||
test_user_email = "sth@byom.de"
|
||||
test_user_password = "test"
|
||||
|
||||
example_quiztivity = {
|
||||
"title": "Some test Quiztivity",
|
||||
"pages": [
|
||||
{
|
||||
"title": "Some test question",
|
||||
"type": "ABCD",
|
||||
"data": {
|
||||
"question": "Is ClassQuiz cool?",
|
||||
"answers": [{"correct": True, "answer": "Yes"}, {"correct": False, "answer": "No"}],
|
||||
},
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
# mock_test_results = {'0': [{'username': 'Player 1', 'answer': 'Byte, Bit, KB, MB, GB, TB', 'right': False},
|
||||
# {'username': 'Player 2', 'answer': 'Byte, Bit, KB, MB, GB, TB', 'right': False}, {'username': 'Player 3',
|
||||
|
||||
Reference in New Issue
Block a user