We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5d61d commit a6df939Copy full SHA for a6df939
test/test_lib.py
@@ -152,6 +152,17 @@ def test_install(run_command):
152
assert "Error resolving dependencies for MD_Parola@3.2.0: dependency 'MD_MAX72xx' is not available" in result.stderr
153
154
155
+def test_install_flags(run_command):
156
+ # Test git url library install
157
+ assert run_command("lib install Wifi101 --git-url https://github.com/arduino-libraries/WiFi101.git")
158
+
159
+ # Test failing-install as repository already exists
160
+ result = run_command("lib install Wifi101 --git-url https://github.com/arduino-libraries/WiFi101.git")
161
+ assert (
162
+ "Error installing Git Library repository already exists"
163
+ in result.stderr
164
+ )
165
166
def test_update_index(run_command):
167
result = run_command("lib update-index")
168
assert result.ok
0 commit comments