def test_GetFilteredDisputes(self): now = int(time.time()) disputes_before = Dispute.all(BeforeDate=now) disputes_after = Dispute.all(AfterDate=now) self.assertTrue(disputes_before) self.assertFalse(disputes_after)
def setUp(self): self._client_disputes = Dispute.all() self.assertTrue(self._client_disputes, "INITIALIZATION FAILURE - cannot test disputes")