예제 #1
0
 def test_fetch_commits(self):
     self.assertEqual(Commit.objects.count(), 0)
     bitbucket_handler.fetch_commits(self.package)
     self.assertNotEqual(Commit.objects.count(), 0)
예제 #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)