Skip to content

Commit b2c3722

Browse files
Correcting typos in tests
1 parent bca74da commit b2c3722

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_status.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from softioc.builder import ClearRecords, records
66

77

8-
def test_builder_create_status_pv(status_gen):
8+
def test_status_create_status_pv(status_gen):
99
p = "BL01T-MO-MOTOR-01"
1010
inpa = "BL01T-MO-MOTOR-01:MOTOR1.MOVN"
1111
status_gen.create_status_pv(prefix=p, inputs=[inpa])
@@ -44,7 +44,7 @@ def test_builder_create_status_pv(status_gen):
4444
ClearRecords()
4545

4646

47-
def test_builder_write_status_pvs(status_gen):
47+
def test_status_write_status_pvs(status_gen):
4848
# To mock the open() function used in _write_status_pvs
4949
m = mock_open()
5050

@@ -62,7 +62,7 @@ def test_builder_write_status_pvs(status_gen):
6262
# Mock the Print() function so we don't actually write a file
6363
with (
6464
patch("builtins.open", m),
65-
patch("techui_builder.builder.Record.Print") as mock_print,
65+
patch("techui_builder.status.Record.Print") as mock_print,
6666
):
6767
status_gen.write_status_pvs()
6868

0 commit comments

Comments
 (0)