Skip to content

Commit

Permalink
LocalBearTestHelper: Return results for checking
Browse files Browse the repository at this point in the history
Sometimes, the check_validity() function can be used to get results and
then do additional checks on the results. It's useful to give out the
results in such cases.
  • Loading branch information
AbdealiLoKo committed Sep 3, 2016
1 parent 241726c commit 4e5a4d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/LocalBearTestHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def check_validity(self,
msg = ("The local bear '{}' yields no result although it "
"should.".format(local_bear.__class__.__name__))
self.assertNotEqual(len(bear_output), 0, msg=msg)
return bear_output

def check_results(self,
local_bear,
Expand Down

0 comments on commit 4e5a4d8

Please sign in to comment.