Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update path names in .py code #764

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions scripts/install_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
ROOT_DIR = pathlib.Path(__file__).parent.parent
EXAMPLES_PATH = ROOT_DIR / "examples"
SERVICES_PATH = (
pathlib.Path(os.environ["ProgramData"])
/ "National Instruments"
/ "MeasurementLink"
/ "Services"
pathlib.Path(os.environ["ProgramData"]) / "National Instruments" / "Plug-Ins" / "Measurements"
)


Expand Down
4 changes: 1 addition & 3 deletions tests/unit/test_discovery_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@
)

_MOCK_KEY_FILE_CONTENT = {"SecurePort": "", "InsecurePort": _TEST_SERVICE_PORT}
_MOCK_REGISTRATION_FILE_CONTENT = {
"discovery": {"path": "Discovery/NationalInstruments.MeasurementLink.DiscoveryService.exe"}
}
_MOCK_REGISTRATION_FILE_CONTENT = {"discovery": {"path": "Discovery/NI.Discovery.V1.Service.exe"}}


def test___service_not_registered___register_service___sends_request_and_returns_id(
Expand Down
Loading