Skip to content

Commit

Permalink
fixed formatting problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
joecrowleygaia committed Sep 5, 2024
1 parent da9954e commit 99472e4
Showing 1 changed file with 25 additions and 26 deletions.
51 changes: 25 additions & 26 deletions tests/base/test_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,32 +415,31 @@ def test_fields(
"""
# Patch schema method
descriptor = {
"fields":
[
{
"name": "fieldA",
"title": "Title A",
"description": "Description A",
"example": "Example A",
"type": "typeA",
"format": "formatA",
"constraints": {
"required": False,
},
"vocabularies": ["vocabularyA"]
}, {
"name": "fieldB",
"title": "Title B",
"description": "Description B",
"example": "Example B",
"type": "typeB",
"format": "formatB",
"constraints": {
"required": False,
},
"vocabularies": ["vocabularyB"]
}
]
"fields": [
{
"name": "fieldA",
"title": "Title A",
"description": "Description A",
"example": "Example A",
"type": "typeA",
"format": "formatA",
"constraints": {
"required": False,
},
"vocabularies": ["vocabularyA"]
}, {
"name": "fieldB",
"title": "Title B",
"description": "Description B",
"example": "Example B",
"type": "typeB",
"format": "formatB",
"constraints": {
"required": False,
},
"vocabularies": ["vocabularyB"]
}
]
}
mocker.patch.object(base.mapper.ABISMapper, "schema", return_value=descriptor)

Expand Down

0 comments on commit 99472e4

Please sign in to comment.