Rename tests with duplicate name.

stix2.1
Emmanuelle Vargas-Gonzalez 2018-10-17 07:56:10 -04:00
parent 352749edb0
commit d614343910
2 changed files with 8 additions and 8 deletions

View File

@ -209,7 +209,7 @@ def test_location_negative_precision(data):
"latitude": 18.468842,
"precision": 5.0,
},
"(longitude, precision) are not met."
"(longitude, precision) are not met.",
),
(
{
@ -221,11 +221,11 @@ def test_location_negative_precision(data):
"longitude": 160.7,
"precision": 5.0,
},
"(latitude, precision) are not met."
"(latitude, precision) are not met.",
),
],
)
def test_location_precision_dependency_missing(data, msg):
def test_location_latitude_dependency_missing(data, msg):
with pytest.raises(stix2.exceptions.DependentPropertiesError) as excinfo:
stix2.parse(data)
@ -243,7 +243,7 @@ def test_location_precision_dependency_missing(data, msg):
"modified": "2016-04-06T20:03:00.000Z",
"latitude": 18.468842,
},
"(longitude, latitude) are not met."
"(longitude, latitude) are not met.",
),
(
{
@ -254,11 +254,11 @@ def test_location_precision_dependency_missing(data, msg):
"modified": "2016-04-06T20:03:00.000Z",
"longitude": 160.7,
},
"(latitude, longitude) are not met."
"(latitude, longitude) are not met.",
),
],
)
def test_location_precision_dependency_missing(data, msg):
def test_location_lat_or_lon_dependency_missing(data, msg):
with pytest.raises(stix2.exceptions.DependentPropertiesError) as excinfo:
stix2.parse(data)

View File

@ -566,8 +566,8 @@ class WindowsProcessExt(_Extension):
"medium",
"high",
"system",
])
)
]),
),
])