From 30c32f986023140b23e4934bcbf12c6251c52bfb Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 4 Sep 2021 10:08:04 -0700 Subject: [PATCH] fixup for lexicon_name --- tests/test_character.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_character.py b/tests/test_character.py index ccd5b51..176bbc5 100644 --- a/tests/test_character.py +++ b/tests/test_character.py @@ -32,12 +32,12 @@ def test_character_view(db: DbContext, app: Flask, make: ObjectFactory): assert mem # The character page exists - list_url = url_for("lexicon.characters.list", name=lexicon.name) + list_url = url_for("lexicon.characters.list", lexicon_name=lexicon.name) response = client.get(list_url) assert response.status_code == 200 assert charname.encode("utf8") not in response.data assert char_sig.encode("utf8") not in response.data - new_url = url_for("lexicon.characters.new", name=lexicon.name) + new_url = url_for("lexicon.characters.new", lexicon_name=lexicon.name) assert new_url.encode("utf8") in response.data # The character creation endpoint works