diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-19 08:25:55 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-19 08:25:55 +0300 |
commit | 3035235defe0f3a6314e10ceab4c94be86086344 (patch) | |
tree | c9c5b22f42c785da4dfad027d648b0cd197e1796 /tests/python/bl_rigging_symmetrize.py | |
parent | 58d86527ae283b94ba18f54b1fcef1cb8063c910 (diff) |
Cleanup: run autopep8 on tests/
Diffstat (limited to 'tests/python/bl_rigging_symmetrize.py')
-rw-r--r-- | tests/python/bl_rigging_symmetrize.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/python/bl_rigging_symmetrize.py b/tests/python/bl_rigging_symmetrize.py index dcd0ab65ced..3a5a0777d6c 100644 --- a/tests/python/bl_rigging_symmetrize.py +++ b/tests/python/bl_rigging_symmetrize.py @@ -98,7 +98,7 @@ def check_constraints(self, input_arm, expected_arm, bone, exp_bone): # Make sure that the constraint exists self.assertTrue(const_name in bone.constraints, "Bone %s is expected to contain constraint %s, but it does not." % ( - bone.name, const_name)) + bone.name, const_name)) constraint = bone.constraints[const_name] const_variables = constraint.bl_rna.properties.keys() @@ -119,7 +119,7 @@ def check_constraints(self, input_arm, expected_arm, bone, exp_bone): if isinstance(value, str): self.assertEqual(value, exp_value, "Missmatching constraint value in pose.bones[%s].constraints[%s].%s" % ( - bone.name, const_name, var)) + bone.name, const_name, var)) elif hasattr(value, "name"): # Some constraints targets the armature itself, so the armature name should missmatch. if value.name == input_arm.name and exp_value.name == expected_arm.name: @@ -127,16 +127,16 @@ def check_constraints(self, input_arm, expected_arm, bone, exp_bone): self.assertEqual(value.name, exp_value.name, "Missmatching constraint value in pose.bones[%s].constraints[%s].%s" % ( - bone.name, const_name, var)) + bone.name, const_name, var)) elif isinstance(value, bool): self.assertEqual(value, exp_value, - "Missmatching constraint boolean in pose.bones[%s].constraints[%s].%s" % ( - bone.name, const_name, var)) + "Missmatching constraint boolean in pose.bones[%s].constraints[%s].%s" % ( + bone.name, const_name, var)) else: self.assertAlmostEqual(value, exp_value, "Missmatching constraint value in pose.bones[%s].constraints[%s].%s" % ( - bone.name, const_name, var)) + bone.name, const_name, var)) class AbstractAnimationTest: |