Browse Source

Fix pipeline tests

Rafał Pitoń 7 years ago
parent
commit
dd5b391f15
1 changed files with 2 additions and 2 deletions
  1. 2 2
      misago/users/tests/test_social_pipeline.py

+ 2 - 2
misago/users/tests/test_social_pipeline.py

@@ -57,7 +57,7 @@ class AssociateByEmailTests(PipelineTestCase):
             self.assertEqual(
             self.assertEqual(
                 e.message,
                 e.message,
                 (
                 (
-                    "The e-mail address associated with your GitHub account is not available for"
+                    "The e-mail address associated with your GitHub account is not available for "
                     "use on this site."
                     "use on this site."
                 ),
                 ),
             )
             )
@@ -126,7 +126,7 @@ class ValidateIpNotBannedTests(PipelineTestCase):
         self.assertIsNone(result)
         self.assertIsNone(result)
 
 
 
 
-class ValidateIpNotBannedTests(PipelineTestCase):
+class ValidateUserNotBannedTests(PipelineTestCase):
     def test_skip_if_user_not_set(self):
     def test_skip_if_user_not_set(self):
         """pipeline step is skipped if no user was passed"""
         """pipeline step is skipped if no user was passed"""
         result = associate_by_email(None, {}, GithubOAuth2)
         result = associate_by_email(None, {}, GithubOAuth2)