If the directory contains one Python file, C{iterSourceCode} will find it.
(self)
| 119 | self.assertEqual(list(iterSourceCode([self.tempdir])), []) |
| 120 | |
| 121 | def test_singleFile(self): |
| 122 | """ |
| 123 | If the directory contains one Python file, C{iterSourceCode} will find |
| 124 | it. |
| 125 | """ |
| 126 | childpath = self.makeEmptyFile('foo.py') |
| 127 | self.assertEqual(list(iterSourceCode([self.tempdir])), [childpath]) |
| 128 | |
| 129 | def test_onlyPythonSource(self): |
| 130 | """ |
nothing calls this directly
no test coverage detected