Skip to content

Commit

Permalink
Add tests for Town
Browse files Browse the repository at this point in the history
  • Loading branch information
KuzenkovAG committed Jul 4, 2023
1 parent aaa03bf commit 6efd34a
Show file tree
Hide file tree
Showing 5 changed files with 390 additions and 4 deletions.
Empty file.
4 changes: 2 additions & 2 deletions hmom3/apps/towns/tests/test_urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def setUpClass(cls):
cls.hall = models.BuildingType.objects.create(
name='hall',
order=1,
base_time=dt.timedelta(1000),
base_time=dt.timedelta(minutes=1),
base_gold=1000,
base_wood=10,
base_stone=10
Expand All @@ -48,7 +48,7 @@ def setUpClass(cls):
('/town/build/hall/', reverse('towns:build')),
)
cls.urls_redirect_quest = (
('/town/', '/'),
('/town/', reverse('users:login')),
('/town/build/', reverse('users:login')),
('/town/research/', reverse('users:login')),
('/town/army/', reverse('users:login')),
Expand Down
Loading

0 comments on commit 6efd34a

Please sign in to comment.