mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-04 14:37:24 +02:00
Fixed bug in tests.py when only one test is run.
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user