aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/tests/test_models.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-03-01 18:18:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2019-03-01 18:18:43 +0000
commit382853e398c144235beee96fe33bf7404a524f69 (patch)
tree2a3d951aba041d85940046553e695a46ecf24c83 /src/booking/tests/test_models.py
parentc04dcca919cc89d04daa73d570a42134829a91d8 (diff)
parentc23bdfcb145c4934d55c8ab0d1d32ccfe2ac62fa (diff)
Merge "Add test utils and tests for quick booking"
Diffstat (limited to 'src/booking/tests/test_models.py')
-rw-r--r--src/booking/tests/test_models.py7
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")