More flake8 style fixes
parent
a9ac7ce838
commit
cf9aef59c2
|
@ -69,7 +69,7 @@ def test_stix_datetime():
|
|||
(123456, Precision.MILLISECOND, PrecisionConstraint.MIN, 123456),
|
||||
(1234, Precision.MILLISECOND, PrecisionConstraint.EXACT, 1000),
|
||||
(123, Precision.MILLISECOND, PrecisionConstraint.EXACT, 0),
|
||||
],
|
||||
],
|
||||
)
|
||||
def test_parse_datetime(
|
||||
us, precision, precision_constraint, expected_truncated_us,
|
||||
|
@ -108,7 +108,7 @@ def test_parse_datetime(
|
|||
(1001, Precision.MILLISECOND, PrecisionConstraint.MIN, ".001001"),
|
||||
(10010, Precision.MILLISECOND, PrecisionConstraint.MIN, ".01001"),
|
||||
(100100, Precision.MILLISECOND, PrecisionConstraint.MIN, ".1001"),
|
||||
],
|
||||
],
|
||||
)
|
||||
def test_format_datetime(us, precision, precision_constraint, expected_us_str):
|
||||
|
||||
|
@ -130,9 +130,9 @@ def test_sdo_extra_precision():
|
|||
"type": "identity",
|
||||
"id": "identity--4a457eeb-6639-4aa3-be81-5930a3000c39",
|
||||
"created": "2015-12-21T19:59:11.000Z",
|
||||
"modified" :"2015-12-21T19:59:11.0001Z",
|
||||
"name" :"John Smith",
|
||||
"identity_class" :"individual",
|
||||
"modified": "2015-12-21T19:59:11.0001Z",
|
||||
"name": "John Smith",
|
||||
"identity_class": "individual",
|
||||
"spec_version": "2.1",
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue