diff options
author | Sawyer Bergeron <sawyerbergeron@gmail.com> | 2019-02-11 12:54:42 -0500 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-01 13:15:45 -0500 |
commit | c23bdfcb145c4934d55c8ab0d1d32ccfe2ac62fa (patch) | |
tree | c29366bf48002421e2be61a0a477af40f44df76c /src/booking/tests/test_models.py | |
parent | e858a658aa9594949ec3b357253b34c7489d623d (diff) |
Add test utils and tests for quick booking
Change-Id: Ie76c6fe26622ca8363055b8ebbe0dc6deaed5824
Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/booking/tests/test_models.py')
-rw-r--r-- | src/booking/tests/test_models.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/booking/tests/test_models.py b/src/booking/tests/test_models.py index c7fb25d..6170295 100644 --- a/src/booking/tests/test_models.py +++ b/src/booking/tests/test_models.py @@ -230,10 +230,3 @@ class BookingModelTestCase(TestCase): booking.save() except Exception: self.fail("save() threw an exception") - booking.end = booking.end + timedelta(weeks=2) - self.assertRaises(ValueError, booking.save) - booking.end = booking.end - timedelta(days=8) - try: - self.assertTrue(booking.save()) - except Exception: - self.fail("save() threw an exception") |