fix some flake errors
parent
5280c60c74
commit
7f0d6b2400
|
@ -1,5 +1,5 @@
|
|||
import six
|
||||
from stix2patterns.grammars.STIXPatternParser import *
|
||||
from stix2patterns.grammars.STIXPatternParser import TerminalNode
|
||||
from stix2patterns.grammars.STIXPatternVisitor import STIXPatternVisitor
|
||||
from antlr4 import CommonTokenStream, InputStream
|
||||
from stix2patterns.grammars.STIXPatternLexer import STIXPatternLexer
|
||||
|
@ -15,14 +15,14 @@ from .patterns import (FollowedByObservationExpression,
|
|||
WithinQualifier,
|
||||
RepeatQualifier,
|
||||
BasicObjectPathComponent,
|
||||
ListObjectPathComponent,
|
||||
StringConstant,
|
||||
IntegerConstant,
|
||||
FloatConstant,
|
||||
HexConstant,
|
||||
BinaryConstant,
|
||||
BooleanConstant,
|
||||
TimestampConstant
|
||||
)
|
||||
TimestampConstant)
|
||||
|
||||
|
||||
def collapse_lists(lists):
|
||||
|
|
|
@ -4,6 +4,7 @@ import pytest
|
|||
|
||||
import stix2
|
||||
|
||||
|
||||
def test_create_comparison_expression():
|
||||
exp = stix2.EqualityComparisonExpression("file:hashes.'SHA-256'",
|
||||
stix2.HashConstant("aec070645fe53ee3b3763059376134f058cc337247c978add178b6ccdfb0019f", "SHA-256")) # noqa
|
||||
|
|
Loading…
Reference in New Issue