Skip to content

Commit

Permalink
Bears: Change language used in tests
Browse files Browse the repository at this point in the history
There is an issue with YAML that doesn't happen with C.
  • Loading branch information
adtac committed Aug 10, 2016
1 parent 36c8486 commit d78e85e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/generation/Bears.py
Expand Up @@ -22,10 +22,10 @@ def tearDown(self):
sys.argv = self.old_argv

def test_filter_relevant_bears(self):
res = filter_relevant_bears([('Python', 70), ('YAML', 20)])
self.assertIn("YAML", res)
res = filter_relevant_bears([('Python', 70), ('C', 20)])
self.assertIn("C", res)
self.assertIn("Python", res)
self.assertTrue(len(res["YAML"]) > 0)
self.assertTrue(len(res["C"]) > 0)
self.assertTrue(len(res["Python"]) > 0)

def test_print_relevant_bears(self):
Expand Down

0 comments on commit d78e85e

Please sign in to comment.