From 2d6d8fc7cad200a52f918a1b0ebf9d329a9de0bf Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 4 Nov 2021 11:25:30 +0100 Subject: Attempt fix for new lib reload/relocate tests on windows. Try splitting them into their own class. --- tests/python/bl_blendfile_liblink.py | 12 ++++++++++-- 1 file 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, ) -- cgit v1.2.3