Layers unittesting: update after doversion changes

Collections now are called "Collection 1", instead of "1"
This commit is contained in:
Dalai Felinto
2017-03-20 10:30:19 +01:00
parent 01c4e598e5
commit a6d4ac28f5
9 changed files with 29 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ class UnitTesting(RenderLayerTesting):
filepath_json = os.path.join(dirpath, "{0}.json".format(copy_mode))
bpy.ops.wm.open_mainfile('EXEC_DEFAULT', filepath=filepath_layers)
self.rename_collections()
bpy.ops.scene.new(type=copy_mode)
bpy.ops.wm.save_mainfile('EXEC_DEFAULT', filepath=filepath_saved)