X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/64def8585cd770750020addd02e959b2f9a9426f..2a6f98f4c11892c606ac1e77771f8ebf67039cb2:/tests/integration/smoke_test.py diff --git a/tests/integration/smoke_test.py b/tests/integration/smoke_test.py index fb29a73c..8c48026a 100644 --- a/tests/integration/smoke_test.py +++ b/tests/integration/smoke_test.py @@ -1,10 +1,15 @@ -from tests.integration.base import SeleniumTestCase, MainPage, _ +# -*- coding: utf-8 -*- +# +# This file is part of MIL/PEER, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# +from tests.integration.base import SeleniumTestCase +from django.utils.translation import ugettext as _ + class SmokeTest(SeleniumTestCase): def test_add_book(self): - user = self.create_super_user(do_login = True) - page = self.get_main_page() page.select_tab(_('All')) assert page.tab.visible_books_count == 0 @@ -15,4 +20,3 @@ class SmokeTest(SeleniumTestCase): page.tab.submit() page.select_tab(_('All')) assert page.tab.visible_books_count == 1 - \ No newline at end of file