mirror of
https://github.com/mandiant/capa.git
synced 2025-12-23 07:28:34 -08:00
pep8
This commit is contained in:
@@ -298,7 +298,6 @@ def test_match_namespace():
|
||||
assert "filesystem-any" in matches
|
||||
|
||||
|
||||
|
||||
def test_match_substring():
|
||||
rules = [
|
||||
capa.rules.Rule.from_yaml(
|
||||
|
||||
@@ -2,9 +2,10 @@ import textwrap
|
||||
|
||||
import capa.rules
|
||||
import capa.render.utils
|
||||
import capa.render.result_document
|
||||
import capa.features.insn
|
||||
import capa.features.common
|
||||
import capa.render.result_document
|
||||
|
||||
|
||||
def test_render_number():
|
||||
assert str(capa.features.insn.Number(1)) == "number(0x1)"
|
||||
|
||||
@@ -785,8 +785,6 @@ def test_substring_description():
|
||||
assert (Substring("abc") in children) == True
|
||||
|
||||
|
||||
|
||||
|
||||
def test_filter_rules():
|
||||
rules = capa.rules.RuleSet(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user