Fix bf_animation_fcurves tests failing depending on preferences
User preferences could cause this test to fail, tests should never read the users configuration.
This commit is contained in:
parent
d4dbbab5d9
commit
224e623e3c
|
@ -171,7 +171,7 @@ def get_view3d_context():
|
|||
class KeyframeInsertTest(AbstractAnimationTest, unittest.TestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
bpy.ops.wm.read_homefile()
|
||||
bpy.ops.wm.read_homefile(use_factory_startup=True)
|
||||
|
||||
def test_keyframe_insertion_basic(self):
|
||||
bpy.ops.mesh.primitive_monkey_add()
|
||||
|
@ -264,7 +264,7 @@ class KeyframeInsertTest(AbstractAnimationTest, unittest.TestCase):
|
|||
class KeyframeDeleteTest(AbstractAnimationTest, unittest.TestCase):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
bpy.ops.wm.read_homefile()
|
||||
bpy.ops.wm.read_homefile(use_factory_startup=True)
|
||||
|
||||
def test_keyframe_deletion_basic(self):
|
||||
bpy.ops.mesh.primitive_monkey_add()
|
||||
|
|
Loading…
Reference in New Issue