Skip to content

Commit 7f72404

Browse files
committed
change default base_address in test to 4200
1 parent e65e677 commit 7f72404

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

functional-tests/conftest.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def pytest_addoption(parser):
1616
)
1717
parser.addoption(
1818
'--base-address',
19-
default='http://localhost:8000/',
19+
default='http://localhost:4200/',
2020
help='specifies the base address where the application is running',
2121
dest=BASE_ADDRESS_OPTION_NAME,
2222
)
@@ -66,11 +66,6 @@ def browser(webdriver_instance):
6666
def base_address(pytestconfig):
6767
return pytestconfig.getoption(BASE_ADDRESS_OPTION_NAME)
6868

69-
@pytest.fixture()
70-
def frontend_address():
71-
""" Returns the frontend address of the LangPro Annotator application. """
72-
return 'http://localhost:4200/'
73-
7469
@pytest.fixture
7570
def api_address(base_address):
7671
return base_address + 'api/'

functional-tests/test_foundations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
def test_langpro_annotator_frontend(browser, frontend_address):
2-
browser.get(frontend_address)
1+
def test_langpro_annotator_frontend(browser, base_address):
2+
browser.get(base_address)
33
try:
44
assert 'LangPro Annotator' in browser.title
55
except:

0 commit comments

Comments
 (0)