Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit ce185ba

Browse files
committed
Stop depending on a specific chromedriver install location
This means that the chromedriver executable must be available in the path.
1 parent 61e7dae commit ce185ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ckeditor_demo/demo_application/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from django.contrib.staticfiles.finders import find
1010
from django.contrib.staticfiles.testing import StaticLiveServerTestCase
1111
from django.test.utils import override_settings
12+
1213
from selenium import webdriver
1314

1415
CHROMIUM = 'chromium'
@@ -22,7 +23,7 @@ class TestAdminPanelWidget(StaticLiveServerTestCase):
2223
@classmethod
2324
def setUpClass(cls):
2425
if SELENIUM_BROWSER == CHROMIUM:
25-
cls.selenium = webdriver.Chrome(executable_path='/usr/lib/chromium-browser/chromedriver')
26+
cls.selenium = webdriver.Chrome(executable_path='chromedriver')
2627
elif SELENIUM_BROWSER == FIREFOX:
2728
cls.selenium = webdriver.Firefox()
2829
super(TestAdminPanelWidget, cls).setUpClass()

0 commit comments

Comments
 (0)