]> git.phdru.name Git - m_librarian.git/blobdiff - tests/test_glst.py
Use pytest for testing
[m_librarian.git] / tests / test_glst.py
old mode 100755 (executable)
new mode 100644 (file)
index 5349bb3..bf4bd0c
@@ -1,7 +1,5 @@
-#! /usr/bin/env python
 
-
-from tests import TestCase, main
+from tests import TestCase
 from m_librarian.db import Genre
 from m_librarian.glst import import_glst
 
@@ -10,7 +8,3 @@ class TestGlst(TestCase):
     def test_import_glst(self):
         import_glst()
         self.assertEqual(Genre.select().count(), 340)
-
-
-if __name__ == "__main__":
-    main()