forked from platformio/platformio-core
DataModels: fix issue when traversing using model fields
This commit is contained in:
1 parent
a82c4666d4
commit
5b77adccb1
2 files changed
+25
-15
No files matched your search
@@ -210,6 +210,8 @@ def test_library_json_model():
|
||||
contents, parser.ManifestFileType.LIBRARY_JSON
|
||||
)
|
||||
model = ManifestModel(**data.as_dict())
|
||||
assert model.repository.url == "https://github.com/bblanchon/ArduinoJson.git"
|
||||
assert model.examples["JsonHttpClient"].files == ["JsonHttpClient.ino"]
|
||||
assert model == ManifestModel(
|
||||
**{
|
||||
"name": "ArduinoJson",
|
||||
|
||||
Reference in new issue
Block a user