-from tests.integration.base import SeleniumTestCase, MainPage, _\r
+# -*- coding: utf-8 -*-\r
+from tests.integration.base import SeleniumTestCase, _\r
+\r
\r
class SmokeTest(SeleniumTestCase):\r
\r
def test_add_book(self):\r
- user = self.create_super_user(do_login = True)\r
- \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
- \r
+\r
page.select_tab(_('Add'))\r
page.tab.put_title('Test title')\r
page.tab.put_text('Test text')\r
page.tab.submit()\r
page.select_tab(_('All'))\r
assert page.tab.visible_books_count == 1\r
-
\ No newline at end of file