Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TermeHansen committed Sep 8, 2024
1 parent 50a246c commit 83c58af
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 55 deletions.
4 changes: 2 additions & 2 deletions tests/test_routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

main_menu_js = json.loads((menudata/'main_menu.json').read_text())

UPDATE_TESTS = True
UPDATE_TESTS = False
UPDATE_CACHE = False

def get_items():
Expand Down Expand Up @@ -134,7 +134,7 @@ def test_gensyn(capsys):
handle.route(items2[4]['url'])
episodes = [iteminfo(item) for item in get_items().values()]
# print(episodes[1])
assert episodes[1]['info']['title'] == 'Hvaffor en hånd 1994'
assert episodes[1]['info']['title'] == 'Casper & Mandrilaftalen 1'


def test_a_aa(capsys):
Expand Down
Loading

0 comments on commit 83c58af

Please sign in to comment.