To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 718766be authored by mikolajr's avatar mikolajr
Browse files

In RS1024 device tests: use f-strings

parent e0938b7b
...@@ -232,7 +232,7 @@ def test_list_directory(testdev: RTO1024): ...@@ -232,7 +232,7 @@ def test_list_directory(testdev: RTO1024):
def test_save_waveform_history(testdev: RTO1024): def test_save_waveform_history(testdev: RTO1024):
testdev.com.put_name( testdev.com.put_name(
"MMEMory:CATalog? '{}'".format(testdev.config.waveforms_path), f"MMEMory:CATalog? '{testdev.config.waveforms_path}'",
'142422792,147771314176,".,DIR,0","..,DIR,0","DavidGraber,DIR,0","Myriam,DIR,' '142422792,147771314176,".,DIR,0","..,DIR,0","DavidGraber,DIR,0","Myriam,DIR,'
'0","test.Wfm.bin,BIN,142422792","test.bin,BIN,1234"', '0","test.Wfm.bin,BIN,142422792","test.bin,BIN,1234"',
) )
...@@ -261,7 +261,7 @@ def test_save_waveform_history(testdev: RTO1024): ...@@ -261,7 +261,7 @@ def test_save_waveform_history(testdev: RTO1024):
# with "file not found" # with "file not found"
testdev.com.put_name( testdev.com.put_name(
"MMEMory:CATalog? '{}'".format(testdev.config.waveforms_path), f"MMEMory:CATalog? '{testdev.config.waveforms_path}'",
'142422792,147771314176,".,DIR,0","..,DIR,0","DavidGraber,DIR,0","Myriam,DIR,' '142422792,147771314176,".,DIR,0","..,DIR,0","DavidGraber,DIR,0","Myriam,DIR,'
'0"', '0"',
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment