aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/tests
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2022-12-16 22:08:06 +0000
committerGerrit Code Review <gerrit@opnfv.org>2022-12-16 22:08:06 +0000
commit8ddc7e820e120f1dde4e901d3cb6f1dd3f281e65 (patch)
treeb8251f8703550bbdce86239364749025aafccbb8 /src/api/tests
parent1773e2b7fc4564e693dfbf29074374379ed86ebb (diff)
parent4edb8881357e043fd7ea15efeb2d592c9fb55efc (diff)
Merge "Laas Dashboard Front End Improvements"
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())