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