def test_fetch_commits(self):
     self.assertEqual(Commit.objects.count(), 0)
     bitbucket_handler.fetch_commits(self.package)
     self.assertNotEqual(Commit.objects.count(), 0)
Exemple #2
0
 def test_fetch_commits(self):
     self.assertEqual(Commit.objects.count(), 0)
     bitbucket_handler.fetch_commits(self.package)
     self.assertNotEqual(Commit.objects.count(), 0)