From ce0ac7f44b75c6cbb808162f7fa9fef871107314 Mon Sep 17 00:00:00 2001 From: Tom Price Date: Sun, 31 May 2015 23:04:29 +0100 Subject: [PATCH] Add missing dry hire 11. Suggest this logic gets looked at. Isn't broken, but not nessecarily correct. --- RIGS/test_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RIGS/test_models.py b/RIGS/test_models.py index d493e373..5f94f9e3 100644 --- a/RIGS/test_models.py +++ b/RIGS/test_models.py @@ -21,7 +21,7 @@ class VatRateTestCase(TestCase): class EventTestCase(TestCase): def setUp(self): self.all_events = set(range(1, 18)) - self.current_events = (1, 2, 3, 6, 7, 8, 10, 12, 14, 15, 16, 18) + self.current_events = (1, 2, 3, 6, 7, 8, 10, 11, 12, 14, 15, 16, 18) self.not_current_events = set(self.all_events) - set(self.current_events) self.vatrate = models.VatRate.objects.create(start_at='2014-03-05',rate=0.20,comment='test1') @@ -59,7 +59,7 @@ class EventTestCase(TestCase): def test_rig_count(self): # by my count this is 7 - self.assertEqual(models.Event.objects.rig_count(), 7) + self.assertEqual(models.Event.objects.rig_count(), 8) def test_current_events(self): current_events = models.Event.objects.current_events()