styling fixes

pull/1/head
Emmanuelle Vargas-Gonzalez 2021-01-15 16:05:57 -05:00
parent 367b485fcd
commit a48af17cf9
1 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ def test_marking_definition_missing_definition():
'spec_version': '2.1', 'spec_version': '2.1',
'id': 'marking-definition--f9dbe89c-0030-4a9d-8b78-0dcd0a0de874', 'id': 'marking-definition--f9dbe89c-0030-4a9d-8b78-0dcd0a0de874',
'name': 'This is the name of my favorite Marking', 'name': 'This is the name of my favorite Marking',
'definition_type': 'foobar' 'definition_type': 'foobar',
} }
with pytest.raises(exceptions.PropertyPresenceError): with pytest.raises(exceptions.PropertyPresenceError):
parse(my_favorite_marking) parse(my_favorite_marking)
@ -164,8 +164,8 @@ def test_marking_definition_missing_definition_type():
'id': 'marking-definition--f9dbe89c-0030-4a9d-8b78-0dcd0a0de874', 'id': 'marking-definition--f9dbe89c-0030-4a9d-8b78-0dcd0a0de874',
'name': 'This is the name of my favorite Marking', 'name': 'This is the name of my favorite Marking',
'definition': { 'definition': {
'some_type': 'foobar' 'some_type': 'foobar',
} },
} }
with pytest.raises(exceptions.InvalidValueError): with pytest.raises(exceptions.InvalidValueError):
parse(my_favorite_marking) parse(my_favorite_marking)