Code Review
/
laas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Laas Dashboard Front End Improvements
[laas.git]
/
src
/
api
/
tests
/
test_models_unittest.py
diff --git
a/src/api/tests/test_models_unittest.py
b/src/api/tests/test_models_unittest.py
index
2a6fa0b
..
2dee29b
100644
(file)
--- 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())