diff --git a/seed/tests/test_meter_views.py b/seed/tests/test_meter_views.py index c57aec190a..f204eab66c 100644 --- a/seed/tests/test_meter_views.py +++ b/seed/tests/test_meter_views.py @@ -550,6 +550,7 @@ def test_bulk_import_duplicate_dates(self): property_view = self.property_view_factory.get_property_view() url = reverse('api:v3:property-meters-list', kwargs={'property_pk': property_view.id}) + url += "?organization_id=" + str(self.org.id) payload = { 'type': 'Electric', @@ -561,6 +562,7 @@ def test_bulk_import_duplicate_dates(self): meter_pk = response.json()['id'] url = reverse('api:v3:property-meter-readings-list', kwargs={'property_pk': property_view.id, 'meter_pk': meter_pk}) + url += "?organization_id=" + str(self.org.id) # prepare the data in bulk format reading1 = {