Attempt fix for new lib reload/relocate tests on windows.
Try splitting them into their own class.
This commit is contained in:
@@ -370,7 +370,7 @@ class TestBlendLibAppendReuseID(TestBlendLibLinkHelper):
|
|||||||
assert(len(bpy.data.collections) == 0) # Scene's master collection is not listed here
|
assert(len(bpy.data.collections) == 0) # Scene's master collection is not listed here
|
||||||
|
|
||||||
|
|
||||||
class TestBlendLibLibraryReloadRelocate(TestBlendLibLinkHelper):
|
class TestBlendLibLibraryReload(TestBlendLibLinkHelper):
|
||||||
|
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
self.args = args
|
self.args = args
|
||||||
@@ -399,6 +399,13 @@ class TestBlendLibLibraryReloadRelocate(TestBlendLibLinkHelper):
|
|||||||
print(reload_data)
|
print(reload_data)
|
||||||
assert(orig_data == reload_data)
|
assert(orig_data == reload_data)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
class TestBlendLibLibraryRelocate(TestBlendLibLinkHelper):
|
||||||
|
|
||||||
|
def __init__(self, args):
|
||||||
|
self.args = args
|
||||||
|
|
||||||
def test_link_relocate(self):
|
def test_link_relocate(self):
|
||||||
output_dir = self.args.output_dir
|
output_dir = self.args.output_dir
|
||||||
output_lib_path = self.init_lib_data_basic()
|
output_lib_path = self.init_lib_data_basic()
|
||||||
@@ -432,7 +439,8 @@ TESTS = (
|
|||||||
TestBlendLibLinkSaveLoadBasic,
|
TestBlendLibLinkSaveLoadBasic,
|
||||||
TestBlendLibAppendBasic,
|
TestBlendLibAppendBasic,
|
||||||
TestBlendLibAppendReuseID,
|
TestBlendLibAppendReuseID,
|
||||||
TestBlendLibLibraryReloadRelocate,
|
TestBlendLibLibraryReload,
|
||||||
|
TestBlendLibLibraryRelocate,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user