-from tests.integration.base import SeleniumTestCase, MainPage, _\r
+# -*- coding: utf-8 -*-\r
+#\r
+# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later.\r
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.\r
+#\r
+from tests.integration.base import SeleniumTestCase\r
+from django.utils.translation import ugettext as _\r
+\r
\r
class SmokeTest(SeleniumTestCase):\r
\r
def test_add_book(self):\r
- user = self.create_super_user(do_login = True)\r
- \r
page = self.get_main_page()\r
page.select_tab(_('All'))\r
assert page.tab.visible_books_count == 0\r
page.tab.submit()\r
page.select_tab(_('All'))\r
assert page.tab.visible_books_count == 1\r
-
\ No newline at end of file