[pybliographer/wip/gtk3] Rename unit tests files to match nosetests patterns



commit dd20f7e14b478385f84b150921e6320b6bc900aa
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Oct 10 23:10:59 2017 -0300

    Rename unit tests files to match nosetests patterns
    
    Enable nosetest to discover and run the tests automatically

 Pyblio/Format/Medline.py                           |    2 +-
 Pyblio/Format/OvidLike.py                          |    6 +-----
 Pyblio/Format/isifile.py                           |    3 +--
 Pyblio/Format/{ut_Isi.py => test_Isi.py}           |    0
 Pyblio/Format/{ut_Ovidlike.py => test_Ovidlike.py} |    0
 Pyblio/Format/{ut_medline.py => test_medline.py}   |    0
 Pyblio/Utils.py                                    |    6 +++++-
 Pyblio/{ut_Utils.py => test_Utils.py}              |    0
 Pyblio/{ut_userformat.py => test_userformat.py}    |    0
 Pyblio/userformat.py                               |    2 +-
 10 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/Pyblio/Format/Medline.py b/Pyblio/Format/Medline.py
index a57ca69..e47093b 100644
--- a/Pyblio/Format/Medline.py
+++ b/Pyblio/Format/Medline.py
@@ -304,5 +304,5 @@ Autoload.register ('format', 'Medline', {'open'  : opener,
 
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_medline.py"
+### py-master-file : "test_medline.py"
 ### End:
diff --git a/Pyblio/Format/OvidLike.py b/Pyblio/Format/OvidLike.py
index 1da0967..28e54d9 100644
--- a/Pyblio/Format/OvidLike.py
+++ b/Pyblio/Format/OvidLike.py
@@ -392,12 +392,8 @@ def write_source_field (output, entry, keys):
     output.write ('\n')
 
 
-
-
-
-
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_Ovidlike.py"
+### py-master-file : "test_Ovidlike.py"
 ### End:
 
diff --git a/Pyblio/Format/isifile.py b/Pyblio/Format/isifile.py
index a1177dc..01ffe2e 100644
--- a/Pyblio/Format/isifile.py
+++ b/Pyblio/Format/isifile.py
@@ -382,9 +382,8 @@ Autoload.register ('format', 'Isifile', {'open': opener,
                                          'iter': iterator})
 
 
-
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_Isi.py"
+### py-master-file : "test_Isi.py"
 ### End:
 
diff --git a/Pyblio/Format/ut_Isi.py b/Pyblio/Format/test_Isi.py
similarity index 100%
rename from Pyblio/Format/ut_Isi.py
rename to Pyblio/Format/test_Isi.py
diff --git a/Pyblio/Format/ut_Ovidlike.py b/Pyblio/Format/test_Ovidlike.py
similarity index 100%
rename from Pyblio/Format/ut_Ovidlike.py
rename to Pyblio/Format/test_Ovidlike.py
diff --git a/Pyblio/Format/ut_medline.py b/Pyblio/Format/test_medline.py
similarity index 100%
rename from Pyblio/Format/ut_medline.py
rename to Pyblio/Format/test_medline.py
diff --git a/Pyblio/Utils.py b/Pyblio/Utils.py
index 772bac1..ed8796b 100644
--- a/Pyblio/Utils.py
+++ b/Pyblio/Utils.py
@@ -152,4 +152,8 @@ class StringStream:
         self.text = self.text + text
         return
 
-    
+
+### Local Variables:
+### Mode: python
+### py-master-file : "test_Utils.py"
+### End:
diff --git a/Pyblio/ut_Utils.py b/Pyblio/test_Utils.py
similarity index 100%
rename from Pyblio/ut_Utils.py
rename to Pyblio/test_Utils.py
diff --git a/Pyblio/ut_userformat.py b/Pyblio/test_userformat.py
similarity index 100%
rename from Pyblio/ut_userformat.py
rename to Pyblio/test_userformat.py
diff --git a/Pyblio/userformat.py b/Pyblio/userformat.py
index 3d47059..f5aec4a 100644
--- a/Pyblio/userformat.py
+++ b/Pyblio/userformat.py
@@ -68,6 +68,6 @@ def author_title_format (item):
 
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_userformat.py"
+### py-master-file : "test_userformat.py"
 ### End:
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]