mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2025-03-17 08:50:44 -04:00
Fixed bug in tests.py when only one test is run.
This commit is contained in:
parent
4485235509
commit
db3b191552
@ -144,9 +144,11 @@ def tests(tests):
|
||||
if type == vtype:
|
||||
type = types[0] if cap_name[0] <= vsplit else types[1]
|
||||
|
||||
if not type in bodies:
|
||||
bodies[type] = []
|
||||
index[type] = []
|
||||
for t in types:
|
||||
if not t in bodies:
|
||||
bodies[t] = []
|
||||
index[t] = []
|
||||
|
||||
body = bodies[type]
|
||||
|
||||
index[type] += [cap_name]
|
||||
|
Loading…
x
Reference in New Issue
Block a user