Skip to content

Commit e07cdec

Browse files
committed
Make base URL configurable using HELPFUL_TOOLS_BASE_URL environment variable in tests
1 parent de587e9 commit e07cdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/text-diff/test_text_diff_frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def setUpClass(cls):
3434
# Fallback to Firefox if Chrome not available
3535
cls.driver = webdriver.Firefox()
3636

37-
cls.base_url = "http://localhost:8000" # Adjust port as needed
37+
cls.base_url = os.environ.get('HELPFUL_TOOLS_BASE_URL', "http://localhost:8000")
3838
cls.wait = WebDriverWait(cls.driver, 10)
3939

4040
@classmethod

0 commit comments

Comments
 (0)