Skip to content

Commit

Permalink
TST: fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmgav committed Jul 21, 2023
1 parent 3d98b90 commit 8763cdb
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import copy
import getpass
import os
import pprint
import re
Expand Down Expand Up @@ -451,12 +452,13 @@ def test_cli_parameters_zmq_server_address_1(monkeypatch, re_manager_cmd, test_m

def _get_expected_settings_default_1(tmpdir):
use_ip_kernel = use_ipykernel_for_tests()
username = getpass.getuser()
if use_ip_kernel:
startup_dir = None
ipython_dir = "/tmp/qserver/ipython"
ipython_dir = f"/tmp/qserver_{username}/ipython"
startup_profile = "collection_sim"
user_group_permissions_path = "/tmp/qserver/ipython/profile_collection_sim/startup"
existing_plans_and_devices_path = "/tmp/qserver/ipython/profile_collection_sim/startup"
user_group_permissions_path = f"/tmp/qserver_{username}/ipython/profile_collection_sim/startup"
existing_plans_and_devices_path = f"/tmp/qserver_{username}/ipython/profile_collection_sim/startup"
else:
startup_dir = "/bluesky_queueserver/profile_collection_sim/"
ipython_dir = None
Expand Down

0 comments on commit 8763cdb

Please sign in to comment.