aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/tests/test_models_unittest.py
diff options
context:
space:
mode:
authorJustin Choquette <jchoquette@iol.unh.edu>2022-06-07 16:07:54 -0400
committerJustin Choquette <jchoquette@iol.unh.edu>2022-09-29 13:34:30 -0400
commit4edb8881357e043fd7ea15efeb2d592c9fb55efc (patch)
treeeac25aa9f64e1938348ccd3cbb0cadde4b995837 /src/api/tests/test_models_unittest.py
parentb7df4193fef9adeccf99685af7d7420274d66064 (diff)
Laas Dashboard Front End Improvements
Change-Id: Ib9aa21747bd57faef94db7795cd89119ad4b0a9d Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/api/tests/test_models_unittest.py')
-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())