Skip to content

Commit 8e67e84

Browse files
committed
Turns out 'token' is '' when running the test on the GitHub runner, but is populated when running the test offline
1 parent dcc6919 commit 8e67e84

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/client/tui/test_main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def test_get_visit_list(
2626
# Unpack test params and set up other params
2727
(server_url,) = test_params
2828
instrument_name = mock_client_configuration["Murfey"]["instrument_name"]
29-
token = mock_client_configuration["Murfey"]["token"]
3029

3130
# Construct the expected request response
3231
example_visits = [
@@ -61,7 +60,7 @@ def test_get_visit_list(
6160
base_url=server_url,
6261
router_name="session_control.router",
6362
function_name="get_current_visits",
64-
token=token,
63+
token=mock.ANY,
6564
instrument_name=instrument_name,
6665
)
6766

0 commit comments

Comments
 (0)