Example #1
0
 def test_fetch_commits(self):
     self.assertEqual(Commit.objects.count(), 0)
     launchpad_handler.fetch_commits(self.package)
     self.assertNotEqual(Commit.objects.count(), 0)
Example #2
0
 def test_fetch_commits(self):
     self.assertEqual(Commit.objects.count(), 0)
     launchpad_handler.fetch_commits(self.package)
     self.assertNotEqual(Commit.objects.count(), 0)