File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -56,21 +56,18 @@ def test_list(run_command):
56
56
assert 1 == len (data )
57
57
# be sure data contains the available version
58
58
assert "" != data [0 ]["release" ]["version" ]
59
- # be sure data contains the correct provides_includes field
60
- assert "ArduinoJson.h" == data [0 ]["library" ]["provides_includes" ][0 ]
61
- assert "ArduinoJson.hpp" == data [0 ]["library" ]["provides_includes" ][1 ]
62
59
63
60
# Install something we can list without provides_includes field given in library.properties
64
- result = run_command ("lib install Braccio@2 .0.4 " )
61
+ result = run_command ("lib install Arduino_APDS9960@1 .0.3 " )
65
62
assert result .ok
66
63
# Look at the JSON output
67
- result = run_command ("lib list Braccio --format json" )
64
+ result = run_command ("lib list Arduino_APDS9960 --format json" )
68
65
assert result .ok
69
66
assert "" == result .stderr
70
67
data = json .loads (result .stdout )
71
68
assert 1 == len (data )
72
69
# be sure data contains the correct provides_includes field
73
- assert "Braccio .h" == data [0 ]["library" ]["provides_includes" ][0 ]
70
+ assert "Arduino_APDS9960 .h" == data [0 ]["library" ]["provides_includes" ][0 ]
74
71
75
72
76
73
def test_install (run_command ):
You can’t perform that action at this time.
0 commit comments