Skip to content

Commit

Permalink
[misc] cleanup print statements from parser changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Naglieri committed Mar 2, 2017
1 parent a2a942f commit a520b90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion stream_alert/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def parse(self):
self._key_check(json_records)

if len(json_records) > 0:
print("%d records" % len(json_records))
return json_records
else:
return False
Expand Down
1 change: 0 additions & 1 deletion test/unit/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def test_inspec(self):
data_record = data[0].strip()
# setup json parser
parsed_result = self.parser_helper(data=data_record, schema=schema, options=options)
print parsed_result
assert_equal(len(parsed_result), 2)
assert_equal(sorted((u'impact', u'code', u'tags', u'source_location', u'refs', u'title',
u'results', u'id', u'desc')),sorted(parsed_result[0].keys()))
Expand Down

0 comments on commit a520b90

Please sign in to comment.