[pybliographer] Rename unit tests files to match nosetest patterns



commit 1c32bd05f3cff2b5c52c4bb6c90efe0eecc3fc0b
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Wed Mar 28 20:22:09 2018 -0300

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

 Pyblio/Format/Medline.py                           |    2 +-
 Pyblio/Format/OvidLike.py                          |    4 ++--
 Pyblio/Format/isifile.py                           |    4 ++--
 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, 12 insertions(+), 6 deletions(-)
---
diff --git a/Pyblio/Format/Medline.py b/Pyblio/Format/Medline.py
index 1ccb73e..fd65f4c 100644
--- a/Pyblio/Format/Medline.py
+++ b/Pyblio/Format/Medline.py
@@ -303,5 +303,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 534d391..91ed774 100644
--- a/Pyblio/Format/OvidLike.py
+++ b/Pyblio/Format/OvidLike.py
@@ -395,5 +395,5 @@ def write_source_field (output, entry, keys):
 
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_Ovidlike.py"
-### End:
\ No newline at end of file
+### py-master-file : "test_Ovidlike.py"
+### End:
diff --git a/Pyblio/Format/isifile.py b/Pyblio/Format/isifile.py
index 2a9c6ae..426e709 100644
--- a/Pyblio/Format/isifile.py
+++ b/Pyblio/Format/isifile.py
@@ -385,5 +385,5 @@ Autoload.register ('format', 'Isifile', {'open': opener,
 
 ### Local Variables:
 ### Mode: python
-### py-master-file : "ut_Isi.py"
-### End:
\ No newline at end of file
+### 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 e13618c..8b2fc7e 100644
--- a/Pyblio/Utils.py
+++ b/Pyblio/Utils.py
@@ -153,3 +153,9 @@ class StringStream:
     def write (self, text):
         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]