Example #1
0
 def test_is_finished_true(self):
     reviewer = Reviewer(FakeCollection(None, 1))
     reviewer.init()
     self.assertEqual(True, reviewer.is_finished())
Example #2
0
 def test_is_finished_false(self):
     reviewer = Reviewer(FakeCollection(3, 1))
     reviewer.init()
     self.assertEqual(False, reviewer.is_finished())