mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -06:00
11617 fix test cases
This commit is contained in:
parent
1b9e0a4c8b
commit
f303b2f257
@ -98,7 +98,7 @@ class CSVImportTestCase(ModelViewTestCase):
|
||||
self.assertHttpStatus(self.client.get(self._get_url('import')), 200)
|
||||
|
||||
# Test POST with permission
|
||||
self.assertHttpStatus(self.client.post(self._get_url('import'), data), 200)
|
||||
self.assertHttpStatus(self.client.post(self._get_url('import'), data), 302)
|
||||
regions = Region.objects.all()
|
||||
self.assertEqual(regions.count(), 4)
|
||||
region = Region.objects.get(slug="region-4")
|
||||
|
Loading…
Reference in New Issue
Block a user