Skip to content

Commit

Permalink
Removed references to creedictionary_extras
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Oct 21, 2024
1 parent 6e4f83e commit b203c4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/morphodict/tests/test_morphodict_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_cree_example():
request.COOKIES["orth"] = "Cans"

context = RequestContext(request, {"example": "like: wâpamêw"})
template = Template("{% load creedictionary_extras %}" "{% cree_example example %}")
template = Template("{% load morphodict_extras %}" "{% cree_example example %}")
rendered = template.render(context)

assertInHTML(
Expand Down Expand Up @@ -181,7 +181,7 @@ def test_url_for_query_tag():
"""

context = Context({"query": "wapamew"})
template = Template("{% load creedictionary_extras %}" "{% url_for_query query %}")
template = Template("{% load morphodict_extras %}" "{% url_for_query query %}")

rendered = template.render(context)
assert "search" in rendered
Expand All @@ -204,7 +204,7 @@ def test_definition_link(db, orthography: str, wordform: str):
request.COOKIES["orth"] = orthography
context = RequestContext(request, {})
template = Template(
"{% load creedictionary_extras %}" '{% definition_link "wâpamêw" %}'
"{% load morphodict_extras %}" '{% definition_link "wâpamêw" %}'
)
rendered = template.render(context)
assert rendered.startswith("<a")
Expand All @@ -222,7 +222,7 @@ def test_definition_link(db, orthography: str, wordform: str):
def test_observed_or_unobserved(wordform: str, classname: str):
context = Context({"wordform": wordform})
template = Template(
"{% load creedictionary_extras %}"
"{% load morphodict_extras %}"
"<span class='wordform--{% observed_or_unobserved wordform %}'>"
)

Expand Down

0 comments on commit b203c4b

Please sign in to comment.