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