parent
85c14d1502
commit
983f931ecd
|
@ -29,7 +29,7 @@ EXPECTED_INDICATOR_REPR = "Indicator(" + " ".join(
|
||||||
pattern="[file:hashes.MD5 = 'd41d8cd98f00b204e9800998ecf8427e']",
|
pattern="[file:hashes.MD5 = 'd41d8cd98f00b204e9800998ecf8427e']",
|
||||||
valid_from='1970-01-01T00:00:01Z',
|
valid_from='1970-01-01T00:00:01Z',
|
||||||
labels=['malicious-activity']
|
labels=['malicious-activity']
|
||||||
""".split()
|
""".split(),
|
||||||
) + ")"
|
) + ")"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ EXPECTED_INDICATOR_REPR = "Indicator(" + " ".join(
|
||||||
pattern_type='stix',
|
pattern_type='stix',
|
||||||
pattern_version='2.1',
|
pattern_version='2.1',
|
||||||
valid_from='1970-01-01T00:00:01Z'
|
valid_from='1970-01-01T00:00:01Z'
|
||||||
""".split()
|
""".split(),
|
||||||
) + ")"
|
) + ")"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ EXPECTED_LOCATION_1_REPR = "Location(" + " ".join(
|
||||||
created='2016-04-06T20:03:00.000Z',
|
created='2016-04-06T20:03:00.000Z',
|
||||||
modified='2016-04-06T20:03:00.000Z',
|
modified='2016-04-06T20:03:00.000Z',
|
||||||
latitude=48.8566,
|
latitude=48.8566,
|
||||||
longitude=2.3522""".split()
|
longitude=2.3522""".split(),
|
||||||
) + ")"
|
) + ")"
|
||||||
|
|
||||||
EXPECTED_LOCATION_2 = """{
|
EXPECTED_LOCATION_2 = """{
|
||||||
|
@ -47,7 +47,7 @@ EXPECTED_LOCATION_2_REPR = "Location(" + " ".join(
|
||||||
id='location--a6e9345f-5a15-4c29-8bb3-7dcc5d168d64',
|
id='location--a6e9345f-5a15-4c29-8bb3-7dcc5d168d64',
|
||||||
created='2016-04-06T20:03:00.000Z',
|
created='2016-04-06T20:03:00.000Z',
|
||||||
modified='2016-04-06T20:03:00.000Z',
|
modified='2016-04-06T20:03:00.000Z',
|
||||||
region='north-america'""".split()
|
region='north-america'""".split(),
|
||||||
) + ")"
|
) + ")"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue