mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-06 07:27:23 +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:
|
if type == vtype:
|
||||||
type = types[0] if cap_name[0] <= vsplit else types[1]
|
type = types[0] if cap_name[0] <= vsplit else types[1]
|
||||||
|
|
||||||
if not type in bodies:
|
for t in types:
|
||||||
bodies[type] = []
|
if not t in bodies:
|
||||||
index[type] = []
|
bodies[t] = []
|
||||||
|
index[t] = []
|
||||||
|
|
||||||
body = bodies[type]
|
body = bodies[type]
|
||||||
|
|
||||||
index[type] += [cap_name]
|
index[type] += [cap_name]
|
||||||
|
Reference in New Issue
Block a user