From f6740993f7add82252bf4f6d9d987d3f724ab8f5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 4 Jun 2018 18:47:31 +0200 Subject: Cleanup: strip tests trailing space --- .../collada/animation/test_animation_simple.py | 236 ++++++++++----------- tests/python/collada/mesh/test_mesh_simple.py | 6 +- 2 files changed, 121 insertions(+), 121 deletions(-) (limited to 'tests/python/collada') diff --git a/tests/python/collada/animation/test_animation_simple.py b/tests/python/collada/animation/test_animation_simple.py index 6686d429261..bdfae03aafb 100644 --- a/tests/python/collada/animation/test_animation_simple.py +++ b/tests/python/collada/animation/test_animation_simple.py @@ -113,37 +113,37 @@ class MeshExportTest4(AbstractColladaTest): test = "suzannes_parent_inverse_sample_10_matrix" reference_dae = self.testdir / Path("%s.dae" % test) outfile = tempdir / Path("%s_out.dae" % test) - + bpy.ops.wm.collada_export(filepath="%s" % str(outfile), - check_existing=True, - filemode=8, - display_type='DEFAULT', - sort_method='FILE_SORT_ALPHA', - apply_modifiers=True, - export_mesh_type=0, - export_mesh_type_selection='view', - selected=True, - include_children=True, - include_armatures=True, - include_shapekeys=False, - deform_bones_only=False, - include_animations=True, - sample_animations=True, - sampling_rate=10, - active_uv_only=False, - use_texture_copies=True, - triangulate=False, - use_object_instantiation=True, - use_blender_profile=True, - sort_by_name=False, - export_transformation_type=0, - export_transformation_type_selection='matrix', - export_texture_type=0, - export_texture_type_selection='mat', - open_sim=False, - limit_precision=True, + check_existing=True, + filemode=8, + display_type='DEFAULT', + sort_method='FILE_SORT_ALPHA', + apply_modifiers=True, + export_mesh_type=0, + export_mesh_type_selection='view', + selected=True, + include_children=True, + include_armatures=True, + include_shapekeys=False, + deform_bones_only=False, + include_animations=True, + sample_animations=True, + sampling_rate=10, + active_uv_only=False, + use_texture_copies=True, + triangulate=False, + use_object_instantiation=True, + use_blender_profile=True, + sort_by_name=False, + export_transformation_type=0, + export_transformation_type_selection='matrix', + export_texture_type=0, + export_texture_type_selection='mat', + open_sim=False, + limit_precision=True, keep_bind_info=False) - + # Now check the resulting Collada file. if not self.checkdae(reference_dae, outfile): self.fail() @@ -154,37 +154,37 @@ class MeshExportTest3(AbstractColladaTest): test = "suzannes_parent_inverse_sample_10_channels" reference_dae = self.testdir / Path("%s.dae" % test) outfile = tempdir / Path("%s_out.dae" % test) - + bpy.ops.wm.collada_export(filepath="%s" % str(outfile), - check_existing=True, - filemode=8, - display_type='DEFAULT', - sort_method='FILE_SORT_ALPHA', - apply_modifiers=True, - export_mesh_type=0, - export_mesh_type_selection='view', - selected=True, - include_children=True, - include_armatures=True, - include_shapekeys=False, - deform_bones_only=False, - include_animations=True, - sample_animations=True, - sampling_rate=10, - active_uv_only=False, - use_texture_copies=True, - triangulate=False, - use_object_instantiation=True, - use_blender_profile=True, - sort_by_name=False, - export_transformation_type=0, - export_transformation_type_selection='transrotloc', - export_texture_type=0, - export_texture_type_selection='mat', - open_sim=False, - limit_precision=True, + check_existing=True, + filemode=8, + display_type='DEFAULT', + sort_method='FILE_SORT_ALPHA', + apply_modifiers=True, + export_mesh_type=0, + export_mesh_type_selection='view', + selected=True, + include_children=True, + include_armatures=True, + include_shapekeys=False, + deform_bones_only=False, + include_animations=True, + sample_animations=True, + sampling_rate=10, + active_uv_only=False, + use_texture_copies=True, + triangulate=False, + use_object_instantiation=True, + use_blender_profile=True, + sort_by_name=False, + export_transformation_type=0, + export_transformation_type_selection='transrotloc', + export_texture_type=0, + export_texture_type_selection='mat', + open_sim=False, + limit_precision=True, keep_bind_info=False) - + # Now check the resulting Collada file. if not self.checkdae(reference_dae, outfile): self.fail() @@ -195,37 +195,37 @@ class MeshExportTest2(AbstractColladaTest): test = "suzannes_parent_inverse_keyframes_matrix" reference_dae = self.testdir / Path("%s.dae" % test) outfile = tempdir / Path("%s_out.dae" % test) - + bpy.ops.wm.collada_export(filepath="%s" % str(outfile), - check_existing=True, - filemode=8, - display_type='DEFAULT', - sort_method='FILE_SORT_ALPHA', - apply_modifiers=True, - export_mesh_type=0, - export_mesh_type_selection='view', - selected=True, - include_children=True, - include_armatures=True, - include_shapekeys=False, - deform_bones_only=False, - include_animations=True, - sample_animations=False, - sampling_rate=1, - active_uv_only=False, - use_texture_copies=True, - triangulate=False, - use_object_instantiation=True, - use_blender_profile=True, - sort_by_name=False, - export_transformation_type=0, - export_transformation_type_selection='matrix', - export_texture_type=0, - export_texture_type_selection='mat', - open_sim=False, - limit_precision=True, + check_existing=True, + filemode=8, + display_type='DEFAULT', + sort_method='FILE_SORT_ALPHA', + apply_modifiers=True, + export_mesh_type=0, + export_mesh_type_selection='view', + selected=True, + include_children=True, + include_armatures=True, + include_shapekeys=False, + deform_bones_only=False, + include_animations=True, + sample_animations=False, + sampling_rate=1, + active_uv_only=False, + use_texture_copies=True, + triangulate=False, + use_object_instantiation=True, + use_blender_profile=True, + sort_by_name=False, + export_transformation_type=0, + export_transformation_type_selection='matrix', + export_texture_type=0, + export_texture_type_selection='mat', + open_sim=False, + limit_precision=True, keep_bind_info=False) - + # Now check the resulting Collada file. if not self.checkdae(reference_dae, outfile): self.fail() @@ -236,45 +236,45 @@ class MeshExportTest1(AbstractColladaTest): test = "suzannes_parent_inverse_keyframes_channels" reference_dae = self.testdir / Path("%s.dae" % test) outfile = tempdir / Path("%s_out.dae" % test) - + bpy.ops.wm.collada_export(filepath="%s" % str(outfile), - check_existing=True, - filemode=8, - display_type='DEFAULT', - sort_method='FILE_SORT_ALPHA', - apply_modifiers=True, - export_mesh_type=0, - export_mesh_type_selection='view', - selected=True, - include_children=True, - include_armatures=True, - include_shapekeys=False, - deform_bones_only=False, - include_animations=True, - sample_animations=False, - sampling_rate=1, - active_uv_only=False, - use_texture_copies=True, - triangulate=False, - use_object_instantiation=True, - use_blender_profile=True, - sort_by_name=False, - export_transformation_type=0, - export_transformation_type_selection='transrotloc', - export_texture_type=0, - export_texture_type_selection='mat', - open_sim=False, - limit_precision=True, + check_existing=True, + filemode=8, + display_type='DEFAULT', + sort_method='FILE_SORT_ALPHA', + apply_modifiers=True, + export_mesh_type=0, + export_mesh_type_selection='view', + selected=True, + include_children=True, + include_armatures=True, + include_shapekeys=False, + deform_bones_only=False, + include_animations=True, + sample_animations=False, + sampling_rate=1, + active_uv_only=False, + use_texture_copies=True, + triangulate=False, + use_object_instantiation=True, + use_blender_profile=True, + sort_by_name=False, + export_transformation_type=0, + export_transformation_type_selection='transrotloc', + export_texture_type=0, + export_texture_type_selection='mat', + open_sim=False, + limit_precision=True, keep_bind_info=False) - + # Now check the resulting Collada file. if not self.checkdae(reference_dae, outfile): self.fail() - + if __name__ == '__main__': sys.argv = [__file__] + (sys.argv[sys.argv.index("--") + 1:] if "--" in sys.argv else []) parser = argparse.ArgumentParser() parser.add_argument('--testdir', required=True) args, remaining = parser.parse_known_args() - unittest.main(argv=sys.argv[0:1]+remaining) \ No newline at end of file + unittest.main(argv=sys.argv[0:1]+remaining) diff --git a/tests/python/collada/mesh/test_mesh_simple.py b/tests/python/collada/mesh/test_mesh_simple.py index f592160f6aa..213c6177fde 100644 --- a/tests/python/collada/mesh/test_mesh_simple.py +++ b/tests/python/collada/mesh/test_mesh_simple.py @@ -113,7 +113,7 @@ class MeshExportTest(AbstractColladaTest): test = "mesh_simple_001" reference_dae = self.testdir / Path("%s.dae" % test) outfile = tempdir / Path("%s_out.dae" % test) - + bpy.ops.wm.collada_export(filepath="%s" % str(outfile), check_existing=True, filemode=8, @@ -141,7 +141,7 @@ class MeshExportTest(AbstractColladaTest): open_sim=False, limit_precision=False, keep_bind_info=False) - + # Now check the resulting Collada file. if not self.checkdae(reference_dae, outfile): self.fail() @@ -151,4 +151,4 @@ if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--testdir', required=True) args, remaining = parser.parse_known_args() - unittest.main(argv=sys.argv[0:1]+remaining) \ No newline at end of file + unittest.main(argv=sys.argv[0:1]+remaining) -- cgit v1.2.3