| Conditions | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import os |
||
| 19 | def test_coala(self): |
||
| 20 | with prepare_file(["#fixme"], None) as (lines, filename): |
||
| 21 | bear = "LineCountBear" |
||
| 22 | retval, output = execute_coala( |
||
| 23 | coala.main, |
||
| 24 | "coala", "-c", os.devnull, |
||
| 25 | "--settings", "files=" + re.escape(filename), |
||
| 26 | "bears=" + bear) |
||
| 27 | self.assertIn("This file has 1 lines.", |
||
| 28 | output, |
||
| 29 | "The output should report count as 1 lines") |
||
| 30 |