File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from 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
You can’t perform that action at this time.
0 commit comments