Beispiel #1
0
 def test_import_with_no_token(self):
     """User without a Bitbucket SocialToken does not return a service."""
     services = BitbucketService.for_user(self.user)
     self.assertEqual(services, [])
 def test_import_with_no_token(self):
     '''User without a Bitbucket SocialToken does not return a service'''
     service = BitbucketService.for_user(self.user)
     self.assertIsNone(service)
Beispiel #3
0
 def test_import_with_no_token(self):
     '''User without a Bitbucket SocialToken does not return a service'''
     services = BitbucketService.for_user(self.user)
     self.assertEqual(services, [])
Beispiel #4
0
 def test_import_with_no_token(self):
     """User without a Bitbucket SocialToken does not return a service."""
     services = BitbucketService.for_user(get(User))
     self.assertEqual(services, [])