]> git.phdru.name Git - m_librarian.git/blobdiff - tests/test_search.py
Use pytest for testing
[m_librarian.git] / tests / test_search.py
old mode 100755 (executable)
new mode 100644 (file)
index bc6ceca..7fdf9fe
@@ -1,8 +1,6 @@
-#! /usr/bin/env python
 # coding: utf-8
 
-
-from tests import TestCase, main
+from tests import TestCase
 from m_librarian.db import Author, Book
 from m_librarian.search import mk_search_conditions, \
     search_authors, search_books
@@ -30,7 +28,3 @@ class TestSearch(TestCase):
             search_books('start', False,
                          {'title': u'ั‚ะตัั‚'}, join_expressions).count(),
             2)
-
-
-if __name__ == "__main__":
-    main()