[Bf-blender-cvs] [f6740993f7a] master: Cleanup: strip tests trailing space

Campbell Barton noreply at git.blender.org
Mon Jun 4 18:48:52 CEST 2018


Commit: f6740993f7add82252bf4f6d9d987d3f724ab8f5
Author: Campbell Barton
Date:   Mon Jun 4 18:47:31 2018 +0200
Branches: master
https://developer.blender.org/rBf6740993f7add82252bf4f6d9d987d3f724ab8f5

Cleanup: strip tests trailing space

===================================================================

M	tests/gtests/blenlib/BLI_heap_test.cc
M	tests/python/bl_pyapi_mathutils.py
M	tests/python/collada/animation/test_animation_simple.py
M	tests/python/collada/mesh/test_mesh_simple.py
M	tests/python/ffmpeg_tests.py
M	tests/python/modules/test_utils.py
M	tests/python/rna_array.py

===================================================================

diff --git a/tests/gtests/blenlib/BLI_heap_test.cc b/tests/gtests/blenlib/BLI_heap_test.cc
index 82acdabd7eb..dd0bc3451ce 100644
--- a/tests/gtests/blenlib/BLI_heap_test.cc
+++ b/tests/gtests/blenlib/BLI_heap_test.cc
@@ -40,7 +40,7 @@ TEST(heap, One)
 	const char *in = "test";
 
 	heap = BLI_heap_new();
- 
+
 	BLI_heap_insert(heap, 0.0f, (void *)in);
 	EXPECT_FALSE(BLI_heap_is_empty(heap));
 	EXPECT_EQ(BLI_heap_len(heap), 1);
diff --git a/tests/python/bl_pyapi_mathutils.py b/tests/python/bl_pyapi_mathutils.py
index 9ca0376192a..b2d3d79fd56 100644
--- a/tests/python/bl_pyapi_mathutils.py
+++ b/tests/python/bl_pyapi_mathutils.py
@@ -127,7 +127,7 @@ class MatrixTesting(unittest.TestCase):
                       (0, 0, 0, 1)))
 
         vec = Vector((1, 2, 3))
-        
+
         prod_mat_vec = Vector((7, 12, 4))
         prod_vec_mat = Vector((1, 12, 5))
 
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,
+  

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list