Skip to content

Commit eb88e98

Browse files
Fix spelling/typos
1 parent d0413f0 commit eb88e98

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tests/system_tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def instrument() -> str:
1717

1818

1919
@pytest.fixture
20-
def latest_comissioning_instrument_session() -> str:
20+
def latest_commissioning_instrument_session() -> str:
2121
# Hardcoding this until a suitable API comes along
2222
return "cm40661-1"
2323

@@ -26,7 +26,7 @@ def latest_comissioning_instrument_session() -> str:
2626
def data_directory(
2727
instrument: str, latest_comissioning_instrument_session: str
2828
) -> Path:
29-
# Should retireve this info from numtracker
29+
# Should retrieve this info from numtracker
3030
return (
3131
Path("/dls")
3232
/ instrument

tests/system_tests/test_take_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
def test_collect_data(
1212
client: BlueapiClient,
1313
stomp_client: StompClient,
14-
latest_comissioning_instrument_session: str,
14+
latest_commissioning_instrument_session: str,
1515
data_directory: Path,
1616
) -> None:
1717
# Listen for NeXus file events, see below
@@ -28,7 +28,7 @@ def on_nexus_message(message: dict[str, Any], _: MessageContext) -> None:
2828
TaskRequest(
2929
name="count",
3030
params={"detectors": ["sample_det"], "num": 5},
31-
instrument_session=latest_comissioning_instrument_session,
31+
instrument_session=latest_commissioning_instrument_session,
3232
),
3333
timeout=10.0,
3434
)
@@ -41,7 +41,7 @@ def on_nexus_message(message: dict[str, Any], _: MessageContext) -> None:
4141
assert len(task.errors) == 0
4242

4343
# Search for a new NeXus file event, with numtracker
44-
# we will be able to programatically corelate the
44+
# we will be able to programmatically correlate the
4545
# file with the plan, see
4646
# https://jira.diamond.ac.uk/browse/DCS-194
4747
nexus_finished_message.result(timeout=10.0)

0 commit comments

Comments
 (0)