def test_order_delete_existing(self): res = ep.orders_create(self.user1['user_id']) self.assertTrue(res.ok) res2 = ep.orders_remove(res.json()['order_id']) self.assertTrue(res2.ok) res3 = ep.orders_find(res.json()['order_id']) self.assertFalse(res3.ok)
def test_order_delete_not_existing(self): res = ep.orders_remove(self.user1['user_id']) self.assertFalse(res.ok)