Skip to content

Commit

Permalink
MR Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrahmanDeghedy committed Feb 3, 2024
1 parent 28476eb commit 4be3fb3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 70 deletions.
70 changes: 0 additions & 70 deletions game/end_to_end_tests/test_saving_game.py

This file was deleted.

21 changes: 21 additions & 0 deletions game/end_to_end_tests/test_saving_workspace.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import random
import string

from game.end_to_end_tests.base_game_test import BaseGameTest


class TestSavingWorkspace(BaseGameTest):
already_logged_on = False
user_profile = None

def test_save_and_load_workspace(self):
self.login_once()
level = 10
random_save_entry_name = "".join(
random.choice(string.ascii_uppercase + string.digits) for _ in range(10)
)
return (
self.go_to_level(level)
.save_solution(random_save_entry_name)
.load_solution_by_name(random_save_entry_name)
)

0 comments on commit 4be3fb3

Please sign in to comment.