]> git.phdru.name Git - m_librarian.git/blobdiff - tests/__init__.py
Minor refactoring: _search_conditions_dict => _comparison_operators
[m_librarian.git] / tests / __init__.py
index c624381b6ad0e053f6cf370b1ea16d3b67df18dc..e40219aa38a0010d0601a0ed32216206baf78abf 100644 (file)
@@ -1,10 +1,10 @@
 
-__all__ = ['TestCase', 'main']
-
-
 import os
 import unittest
 from m_librarian.db import open_db, init_db
+from m_librarian.inp import import_inpx
+
+__all__ = ['TestCase', 'main']
 
 
 class TestCase(unittest.TestCase):
@@ -22,6 +22,9 @@ class TestCase(unittest.TestCase):
         except OSError:
             pass
 
+    def import_inpx(self, inpx):
+        import_inpx(os.path.join(os.path.dirname(__file__), inpx))
+
 
 def main():
     try: