Fix test cases in v20
parent
f59db77352
commit
59ec498fa0
|
@ -83,7 +83,7 @@ def test_attack_pattern_invalid_labels():
|
|||
|
||||
|
||||
def test_overly_precise_timestamps():
|
||||
ap = stix2.v21.AttackPattern(
|
||||
ap = stix2.v20.AttackPattern(
|
||||
id=ATTACK_PATTERN_ID,
|
||||
created="2016-05-12T08:17:27.0000342Z",
|
||||
modified="2016-05-12T08:17:27.000287Z",
|
||||
|
@ -99,7 +99,7 @@ def test_overly_precise_timestamps():
|
|||
|
||||
|
||||
def test_less_precise_timestamps():
|
||||
ap = stix2.v21.AttackPattern(
|
||||
ap = stix2.v20.AttackPattern(
|
||||
id=ATTACK_PATTERN_ID,
|
||||
created="2016-05-12T08:17:27.00Z",
|
||||
modified="2016-05-12T08:17:27.0Z",
|
||||
|
|
Loading…
Reference in New Issue