diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-24 10:43:46 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-07-24 10:43:46 -0400 |
commit | b99fbf1ff6a06309ecf6cce8d6ae97dee5626784 (patch) | |
tree | 0ef7c253dbe1666fa30c820f1f2e1a16071a967f /tests/test_filereporter.py | |
parent | ca0e0463d3f5b5289f0e8c22953863c71e893f19 (diff) | |
download | python-coveragepy-git-b99fbf1ff6a06309ecf6cce8d6ae97dee5626784.tar.gz |
Add license mention to the top of all files. #313.
Diffstat (limited to 'tests/test_filereporter.py')
-rw-r--r-- | tests/test_filereporter.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_filereporter.py b/tests/test_filereporter.py index 045081cf..380d92d3 100644 --- a/tests/test_filereporter.py +++ b/tests/test_filereporter.py @@ -1,3 +1,6 @@ +# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 +# For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt + """Tests for FileReporters""" import os @@ -117,4 +120,4 @@ class FileReporterTest(CoverageTest): ecu = PythonFileReporter(egg1) eecu = PythonFileReporter(egg1.egg1) self.assertEqual(ecu.source(), u"") - self.assertEqual(eecu.source().split("\n")[0], u"# My egg file!") + self.assertIn(u"# My egg file!", eecu.source().splitlines()) |