Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Just use assert output in test case.
Browse files Browse the repository at this point in the history
As per @domanchi's suggestion in Yelp#267.
  • Loading branch information
EdOverflow committed Nov 15, 2019
1 parent 9f6a388 commit 798ff3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugins/twilio_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ class TestTwilioKeyDetector(object):
def test_analyze(self, payload, should_flag):
logic = TwilioKeyDetector()
output = logic.analyze_line(payload, 1, 'mock_filename')
assert len(output) == int(should_flag)
assert output

0 comments on commit 798ff3f

Please sign in to comment.