diff options
author | Bastien Montagne <bastien@blender.org> | 2021-11-04 13:25:30 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-11-04 13:25:30 +0300 |
commit | 2d6d8fc7cad200a52f918a1b0ebf9d329a9de0bf (patch) | |
tree | c40fb67af921e1eee325a55f5e9911ec79d2eb7c /tests | |
parent | 82b20b6975d8c9e5bd7a0dc885db3d1da2ecba86 (diff) |
Attempt fix for new lib reload/relocate tests on windows.
Try splitting them into their own class.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/python/bl_blendfile_liblink.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/python/bl_blendfile_liblink.py b/tests/python/bl_blendfile_liblink.py index 6017d3f1a1e..08237f71673 100644 --- a/tests/python/bl_blendfile_liblink.py +++ b/tests/python/bl_blendfile_liblink.py @@ -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, ) |