aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/tests')
-rw-r--r--src/api/tests/test_models_unittest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/tests/test_models_unittest.py b/src/api/tests/test_models_unittest.py
index 2a6fa0b..2dee29b 100644
--- a/src/api/tests/test_models_unittest.py
+++ b/src/api/tests/test_models_unittest.py
@@ -116,7 +116,7 @@ class ValidBookingCreatesValidJob(TestCase):
count = hostprofile.interfaceprofile.all().count()
for i in range(count):
network_struct.append([])
- while(nets):
+ while (nets):
index = len(nets) % count
network_struct[index].append(nets.pop())