[python-dtcwt] 16/38: test: rename test suite modules to py.test defaults

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Mar 8 11:39:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-dtcwt.

commit 09a4a9a4709d07319fdacef6b1e584c12a2e68ef
Author: Rich Wareham <rjw57 at cam.ac.uk>
Date:   Tue Aug 4 16:36:01 2015 +0100

    test: rename test suite modules to py.test defaults
    
    Remove the need for custom pytest configuration by renaming the test suite
    modules to start with "test_" instead of just "test".
---
 pytest.ini                                                | 3 ---
 tests/{testagainstmatlab.py => test_againstmatlab.py}     | 0
 tests/{testcoeffs.py => test_coeffs.py}                   | 0
 tests/{testcoldfilt.py => test_coldfilt.py}               | 0
 tests/{testcolfilter.py => test_colfilter.py}             | 0
 tests/{testcolifilt.py => test_colifilt.py}               | 0
 tests/{testifm1.py => test_ifm1.py}                       | 0
 tests/{testifm2.py => test_ifm2.py}                       | 0
 tests/{testimport.py => test_import.py}                   | 0
 tests/{testopenclcoldfilt.py => test_openclcoldfilt.py}   | 0
 tests/{testopenclcolfilter.py => test_openclcolfilter.py} | 0
 tests/{testopenclcolifilt.py => test_openclcolifilt.py}   | 0
 tests/{testopenclxfm2.py => test_openclxfm2.py}           | 0
 tests/{testreflect.py => test_reflect.py}                 | 0
 tests/{testregistration.py => test_registration.py}       | 0
 tests/{testsampling.py => test_sampling.py}               | 0
 tests/{testswitchbackends.py => test_switchbackends.py}   | 0
 tests/{testutils.py => test_utils.py}                     | 0
 tests/{testxfm1.py => test_xfm1.py}                       | 0
 tests/{testxfm2.py => test_xfm2.py}                       | 0
 tests/{testxfm3.py => test_xfm3.py}                       | 0
 21 files changed, 3 deletions(-)

diff --git a/pytest.ini b/pytest.ini
deleted file mode 100644
index 2c42164..0000000
--- a/pytest.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[pytest]
-python_files = test*
-
diff --git a/tests/testagainstmatlab.py b/tests/test_againstmatlab.py
similarity index 100%
rename from tests/testagainstmatlab.py
rename to tests/test_againstmatlab.py
diff --git a/tests/testcoeffs.py b/tests/test_coeffs.py
similarity index 100%
rename from tests/testcoeffs.py
rename to tests/test_coeffs.py
diff --git a/tests/testcoldfilt.py b/tests/test_coldfilt.py
similarity index 100%
rename from tests/testcoldfilt.py
rename to tests/test_coldfilt.py
diff --git a/tests/testcolfilter.py b/tests/test_colfilter.py
similarity index 100%
rename from tests/testcolfilter.py
rename to tests/test_colfilter.py
diff --git a/tests/testcolifilt.py b/tests/test_colifilt.py
similarity index 100%
rename from tests/testcolifilt.py
rename to tests/test_colifilt.py
diff --git a/tests/testifm1.py b/tests/test_ifm1.py
similarity index 100%
rename from tests/testifm1.py
rename to tests/test_ifm1.py
diff --git a/tests/testifm2.py b/tests/test_ifm2.py
similarity index 100%
rename from tests/testifm2.py
rename to tests/test_ifm2.py
diff --git a/tests/testimport.py b/tests/test_import.py
similarity index 100%
rename from tests/testimport.py
rename to tests/test_import.py
diff --git a/tests/testopenclcoldfilt.py b/tests/test_openclcoldfilt.py
similarity index 100%
rename from tests/testopenclcoldfilt.py
rename to tests/test_openclcoldfilt.py
diff --git a/tests/testopenclcolfilter.py b/tests/test_openclcolfilter.py
similarity index 100%
rename from tests/testopenclcolfilter.py
rename to tests/test_openclcolfilter.py
diff --git a/tests/testopenclcolifilt.py b/tests/test_openclcolifilt.py
similarity index 100%
rename from tests/testopenclcolifilt.py
rename to tests/test_openclcolifilt.py
diff --git a/tests/testopenclxfm2.py b/tests/test_openclxfm2.py
similarity index 100%
rename from tests/testopenclxfm2.py
rename to tests/test_openclxfm2.py
diff --git a/tests/testreflect.py b/tests/test_reflect.py
similarity index 100%
rename from tests/testreflect.py
rename to tests/test_reflect.py
diff --git a/tests/testregistration.py b/tests/test_registration.py
similarity index 100%
rename from tests/testregistration.py
rename to tests/test_registration.py
diff --git a/tests/testsampling.py b/tests/test_sampling.py
similarity index 100%
rename from tests/testsampling.py
rename to tests/test_sampling.py
diff --git a/tests/testswitchbackends.py b/tests/test_switchbackends.py
similarity index 100%
rename from tests/testswitchbackends.py
rename to tests/test_switchbackends.py
diff --git a/tests/testutils.py b/tests/test_utils.py
similarity index 100%
rename from tests/testutils.py
rename to tests/test_utils.py
diff --git a/tests/testxfm1.py b/tests/test_xfm1.py
similarity index 100%
rename from tests/testxfm1.py
rename to tests/test_xfm1.py
diff --git a/tests/testxfm2.py b/tests/test_xfm2.py
similarity index 100%
rename from tests/testxfm2.py
rename to tests/test_xfm2.py
diff --git a/tests/testxfm3.py b/tests/test_xfm3.py
similarity index 100%
rename from tests/testxfm3.py
rename to tests/test_xfm3.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git



More information about the debian-science-commits mailing list