diff --git a/meshtastic/test/test_smoke1.py b/meshtastic/test/test_smoke1.py index a7f4b00..0eb66c1 100644 --- a/meshtastic/test/test_smoke1.py +++ b/meshtastic/test/test_smoke1.py @@ -65,21 +65,12 @@ def test_smoke1_pos_fields(): assert return_value == 0 -@pytest.mark.smoke1 -def test_smoke1_test_no_arg(): - """Test --test - Note: Test without arg. - """ - return_value, _ = subprocess.getstatusoutput('meshtastic --test') - assert return_value == 2 - - @pytest.mark.smoke1 def test_smoke1_test_with_arg_but_no_hardware(): """Test --test Note: Since only one device is connected, it will not do much. """ - return_value, out = subprocess.getstatusoutput('meshtastic --test 5') + return_value, out = subprocess.getstatusoutput('meshtastic --test') assert re.search(r'^Warning: Must have at least two devices', out, re.MULTILINE) assert return_value == 1