]> git.phdru.name Git - m_librarian.git/commitdiff
Fix flake8 warnings
authorOleg Broytman <phd@phdru.name>
Fri, 13 May 2016 16:23:07 +0000 (19:23 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 13 May 2016 16:23:07 +0000 (19:23 +0300)
tests/test_inp.py
tests/test_search.py

index 595c46d0191f1389e85568c16fc6c748771a25c7..6aeefd18c4bf634dacaf412112e6804f929e6a2f 100755 (executable)
@@ -1,7 +1,6 @@
 #! /usr/bin/env python
 
 
-import os
 from tests import TestCase, main
 from m_librarian.db import Author, Book
 
index 2ad86c6ee9f0b285d2c06f64b25d7ad45ced9a43..991a9079e61e212a9fa76320b65ac431d055ffdd 100755 (executable)
@@ -16,7 +16,8 @@ class TestSearch(TestCase):
         self.assertEqual(
             search_authors('substring', True, {'surname': u'Друг'}).count(), 2)
         self.assertEqual(
-            search_authors('substring', False, {'surname': u'друг'}).count(), 3)
+            search_authors('substring', False, {'surname': u'друг'}).count(),
+            3)
 
 
 if __name__ == "__main__":