File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ def channels_configure(
349349 """
350350 assert self ._nxs
351351
352- logger .info ("configure channels = %s divider = %d " , str (channels ), div )
352+ logger .info ("configure channels = %s divider = %s " , str (channels ), str ( div ) )
353353
354354 self ._chanlist = self ._chanlist_gen (channels )
355355 if not self ._chanlist :
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ def runner(mocker):
1313
1414def test_main (runner ):
1515 result = runner .invoke (main )
16- assert result .exit_code == 0
16+ assert result .exit_code == 2
1717
1818
1919def test_main_dummy (runner ):
2020 result = runner .invoke (main , ["dummy" ])
21- assert result .exit_code == 0
21+ assert result .exit_code == 2
2222
2323
2424def test_main_pdevinfo (runner ):
You can’t perform that action at this time.
0 commit comments