Make the selenium tests work with statifiles.

- Legacy-Id: 9990
This commit is contained in:
Henrik Levkowetz 2015-08-08 21:08:03 +00:00
parent 6c253ee48b
commit 24bc3a3e85

View file

@ -2,7 +2,7 @@ import time
from pyquery import PyQuery
from unittest import skipIf
from django.test import LiveServerTestCase
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
from django.core.urlresolvers import reverse as urlreverse
from ietf.group import colors
@ -29,7 +29,7 @@ def condition_data():
@skipIf(skip_selenium, skip_message)
class ScheduleEditTests(LiveServerTestCase):
class ScheduleEditTests(StaticLiveServerTestCase):
def setUp(self):
condition_data()
self.driver = webdriver.PhantomJS(service_log_path=settings.TEST_GHOSTDRIVER_LOG_PATH)