Skip to content

Commit

Permalink
suppression user_id des appels de get_unallowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliettejns committed Sep 11, 2024
1 parent 1f4b80a commit e00e28f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_selenium/test_corpus_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_registration_with_full_allowed_lemma(self):
self.assertEqual(allowed.count(), 21, "There should be 21 allowed token")

# Checking the model
self.assertEqual(corpus.get_unallowed(user_id = 1, allowed_type="lemma").count(), 0, "There should be no unallowed value")
self.assertEqual(corpus.get_unallowed(allowed_type="lemma").count(), 0, "There should be no unallowed value")

def test_registration_with_partial_allowed_lemma(self):
"""
Expand Down Expand Up @@ -152,7 +152,7 @@ def test_registration_with_partial_allowed_lemma(self):

# Checking the model
self.assertEqual(
corpus.get_unallowed(user_id=1, allowed_type="lemma").count(), 22,
corpus.get_unallowed(allowed_type="lemma").count(), 22,
"There should be 22 unallowed value as only de saint martin are allowed"
)

Expand Down Expand Up @@ -198,7 +198,7 @@ def test_registration_with_allowed_morph(self):

# Checking the model
self.assertEqual(
corpus.get_unallowed(user_id=1, allowed_type="lemma").count(), 22,
corpus.get_unallowed(allowed_type="lemma").count(), 22,
"There should be 22 unallowed value as only de saint martin are allowed"
)

Expand Down

0 comments on commit e00e28f

Please sign in to comment.