Skip to content

Commit

Permalink
clean up tests, add episode urls to python den
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Aug 16, 2024
1 parent e8223fa commit d8a3251
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions game/end_to_end_tests/test_play_through.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ def test_level_1012(self):
def test_level_1013(self):
self._complete_level(1013, check_algorithm_score=False)

def test_episode_13(self):
self._complete_episode(13, 1014)
def test_episode_14(self):
self._complete_episode(14, 1014)

def test_level_1014(self):
self._complete_level(1014)
Expand Down Expand Up @@ -358,8 +358,8 @@ def test_level_1024(self):
def test_level_1025(self):
self._complete_level(1025, check_algorithm_score=False)

def test_episode_14(self):
self._complete_episode(14, 1026)
def test_episode_13(self):
self._complete_episode(13, 1026)

def test_level_1026(self):
self._complete_level(1026)
Expand Down
6 changes: 5 additions & 1 deletion game/python_den_urls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
from django.conf.urls import url, include

from game.views.level import play_default_level
from game.views.level import (
play_default_level,
start_episode
)
from game.views.level_selection import python_levels

urlpatterns = [
url(r"^$", python_levels, name="python_levels"),
url(r"^(?P<levelName>[A-Z0-9]+)/$", play_default_level, name="play_python_default_level"),
url(r"^episode/(?P<episodeId>[0-9]+)/$", start_episode, name="start_episode"),
]

0 comments on commit d8a3251

Please sign in to comment.