File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,21 @@ def test_update_index(run_command):
70
70
)
71
71
72
72
73
- def test_remove (run_command ):
74
- libs = ['"AzureIoTProtocol_MQTT"' , '"CMMC MQTT Connector"' , '" WiFiNINA"' ]
73
+ def test_uninstall (run_command ):
74
+ libs = ['"AzureIoTProtocol_MQTT"' , '"WiFiNINA"' ]
75
75
assert run_command ("lib install {}" .format (" " .join (libs )))
76
76
77
77
result = run_command ("lib uninstall {}" .format (" " .join (libs )))
78
78
assert result .ok
79
79
80
+ def test_uninstall_spaces (run_command ):
81
+ key = '"LiquidCrystal I2C"'
82
+ assert run_command ("lib install {}" .format (key ))
83
+ assert run_command ("lib uninstall {}" .format (key ))
84
+ result = run_command ("lib list --format json" )
85
+ assert result .ok
86
+ assert len (json .loads (result .stdout )) == 0
87
+
80
88
81
89
def test_search (run_command ):
82
90
assert run_command ("lib update-index" )
You can’t perform that action at this time.
0 commit comments