diff --git a/tests/test_selenium/test_corpus_init.py b/tests/test_selenium/test_corpus_init.py index 8f347e9..0a2da03 100644 --- a/tests/test_selenium/test_corpus_init.py +++ b/tests/test_selenium/test_corpus_init.py @@ -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): """ @@ -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" ) @@ -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" )