From 21fa8d2307c5c6f36599cc2b3b1a86f9275f6245 Mon Sep 17 00:00:00 2001 From: Junchao-Mellanox Date: Thu, 8 Jun 2023 15:10:40 +0800 Subject: [PATCH] Fix unit test issue --- tests/sfp_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sfp_test.py b/tests/sfp_test.py index c24ec49e20..37a025a35c 100644 --- a/tests/sfp_test.py +++ b/tests/sfp_test.py @@ -898,7 +898,7 @@ def test_qsfp_dd_eeprom_with_dom(self): def test_osfp_eeprom_with_dom(self): runner = CliRunner() - result = runner.invoke(show.cli.commands["interfaces"].commands["transceiver"].commands["eeprom"], ["Ethernet72 -d"]) + result = runner.invoke(show.cli.commands["interfaces"].commands["transceiver"].commands["eeprom"], ["Ethernet72", "-d"]) assert result.exit_code == 0 assert result.output == test_osfp_eeprom_with_dom_output