diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2019-03-01 18:18:43 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2019-03-01 18:18:43 +0000 |
commit | db0a6c8551100c4064259be5861f642b274dd0dc (patch) | |
tree | c7e211edcd12ea24ac38674cf17f936a8b54af99 /dashboard/src/booking/tests/test_models.py | |
parent | d83ca3f27dda6c5bf1f1475ab66a676f60a19a11 (diff) | |
parent | 8f005b94ab8f1687c25e4633589ca6a74b7233cd (diff) |
Merge "Add test utils and tests for quick booking"
Diffstat (limited to 'dashboard/src/booking/tests/test_models.py')
-rw-r--r-- | dashboard/src/booking/tests/test_models.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dashboard/src/booking/tests/test_models.py b/dashboard/src/booking/tests/test_models.py index c7fb25d..6170295 100644 --- a/dashboard/src/booking/tests/test_models.py +++ b/dashboard/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") |