1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.contrib.staticfiles.testing import StaticLiveServerTestCase
5 from selenium.webdriver.firefox.webdriver import WebDriver
8 class SandboxTestCase(StaticLiveServerTestCase):
12 cls.selenium = WebDriver()
13 cls.selenium.implicitly_wait(10)
16 def tearDownClass(cls):
18 super().tearDownClass()
20 def test_payment(self):
21 self.selenium.get('%s%s' % (self.live_server_url, '/towarzystwo/'))
22 from time import sleep