From: Oleg Broytman Date: Fri, 13 May 2016 16:23:07 +0000 (+0300) Subject: Fix flake8 warnings X-Git-Tag: 0.0.5~7 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4dcbb3e9ee712ebcb78db9675de4bd40a1fce940;p=m_librarian.git Fix flake8 warnings --- diff --git a/tests/test_inp.py b/tests/test_inp.py index 595c46d..6aeefd1 100755 --- a/tests/test_inp.py +++ b/tests/test_inp.py @@ -1,7 +1,6 @@ #! /usr/bin/env python -import os from tests import TestCase, main from m_librarian.db import Author, Book diff --git a/tests/test_search.py b/tests/test_search.py index 2ad86c6..991a907 100755 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -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__":