diff --git a/tests/test_driver.py b/tests/test_driver.py index bdbd3a4..3d908db 100644 --- a/tests/test_driver.py +++ b/tests/test_driver.py @@ -34,7 +34,7 @@ class TestDriverDetail(TestInventoryBase): stdout = StringIO() tldp.driver.detail(c, docs, file=stdout) stdout.seek(0) - self.assertTrue('newer file' in stdout.read()) + self.assertTrue('newer source' in stdout.read()) def test_broken_detail_verbosity(self): c = self.config @@ -45,7 +45,7 @@ class TestDriverDetail(TestInventoryBase): stdout = StringIO() tldp.driver.detail(c, docs, file=stdout) stdout.seek(0) - self.assertTrue('missing file' in stdout.read()) + self.assertTrue('missing output' in stdout.read()) class TestDriverSummary(TestInventoryBase): diff --git a/tldp/sources.py b/tldp/sources.py index 8d22d43..afd9849 100644 --- a/tldp/sources.py +++ b/tldp/sources.py @@ -200,10 +200,10 @@ class SourceDocument(object): if verbose: for f in self.newer: fname = os.path.join(self.dirname, f) - print(' newer file {}'.format(fname), file=file) + print(' newer source {}'.format(fname), file=file) if self.output: for f in self.output.missing: - print(' missing file {}'.format(f), file=file) + print(' missing output {}'.format(f), file=file) # # -- end of file