Exemplo n.º 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, [])
Exemplo n.º 2
0
 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)
Exemplo n.º 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, [])
Exemplo n.º 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, [])