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)
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.""" services = BitbucketService.for_user(get(User)) self.assertEqual(services, [])