summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-24 10:43:46 -0400
commitb99fbf1ff6a06309ecf6cce8d6ae97dee5626784 (patch)
tree0ef7c253dbe1666fa30c820f1f2e1a16071a967f /tests/modules
parentca0e0463d3f5b5289f0e8c22953863c71e893f19 (diff)
downloadpython-coveragepy-git-b99fbf1ff6a06309ecf6cce8d6ae97dee5626784.tar.gz
Add license mention to the top of all files. #313.
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/covmod1.py3
-rw-r--r--tests/modules/pkg1/p1a.py3
-rw-r--r--tests/modules/pkg1/p1b.py3
-rw-r--r--tests/modules/pkg1/p1c.py3
-rw-r--r--tests/modules/pkg1/runmod2.py3
-rw-r--r--tests/modules/pkg1/sub/ps1a.py3
-rw-r--r--tests/modules/pkg1/sub/runmod3.py3
-rw-r--r--tests/modules/pkg2/p2a.py3
-rw-r--r--tests/modules/pkg2/p2b.py3
-rw-r--r--tests/modules/plugins/another.py3
-rw-r--r--tests/modules/runmod1.py3
-rw-r--r--tests/modules/usepkgs.py3
12 files changed, 36 insertions, 0 deletions
diff --git a/tests/modules/covmod1.py b/tests/modules/covmod1.py
index b3f5e5f2..0f9638b8 100644
--- a/tests/modules/covmod1.py
+++ b/tests/modules/covmod1.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
+
# covmod1.py: Simplest module for testing.
i = 1
i += 1
diff --git a/tests/modules/pkg1/p1a.py b/tests/modules/pkg1/p1a.py
index 337add49..5d81b1fa 100644
--- a/tests/modules/pkg1/p1a.py
+++ b/tests/modules/pkg1/p1a.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
+
import os, sys
# Invoke functions in os and sys so we can see if we measure code there.
diff --git a/tests/modules/pkg1/p1b.py b/tests/modules/pkg1/p1b.py
index 59d6fb54..53505cef 100644
--- a/tests/modules/pkg1/p1b.py
+++ b/tests/modules/pkg1/p1b.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
+
x = 1
y = 2
z = 3
diff --git a/tests/modules/pkg1/p1c.py b/tests/modules/pkg1/p1c.py
index a9aeef04..98f319e8 100644
--- a/tests/modules/pkg1/p1c.py
+++ b/tests/modules/pkg1/p1c.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
+
a = 1
b = 2
c = 3
diff --git a/tests/modules/pkg1/runmod2.py b/tests/modules/pkg1/runmod2.py
index b52964cb..5911db7b 100644
--- a/tests/modules/pkg1/runmod2.py
+++ b/tests/modules/pkg1/runmod2.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
+
# Used in the tests for run_python_module
import sys
print("runmod2: passed %s" % sys.argv[1])
diff --git a/tests/modules/pkg1/sub/ps1a.py b/tests/modules/pkg1/sub/ps1a.py
index 4b6a15cc..44d3b274 100644
--- a/tests/modules/pkg1/sub/ps1a.py
+++ b/tests/modules/pkg1/sub/ps1a.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
+
d = 1
e = 2
f = 3
diff --git a/tests/modules/pkg1/sub/runmod3.py b/tests/modules/pkg1/sub/runmod3.py
index 3a1ad155..1f5ce27e 100644
--- a/tests/modules/pkg1/sub/runmod3.py
+++ b/tests/modules/pkg1/sub/runmod3.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
+
# Used in the tests for run_python_module
import sys
print("runmod3: passed %s" % sys.argv[1])
diff --git a/tests/modules/pkg2/p2a.py b/tests/modules/pkg2/p2a.py
index b606711d..62caae22 100644
--- a/tests/modules/pkg2/p2a.py
+++ b/tests/modules/pkg2/p2a.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
+
q = 1
r = 1
s = 1
diff --git a/tests/modules/pkg2/p2b.py b/tests/modules/pkg2/p2b.py
index 7a34e2c6..73716eb4 100644
--- a/tests/modules/pkg2/p2b.py
+++ b/tests/modules/pkg2/p2b.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
+
t = 1
u = 1
v = 1
diff --git a/tests/modules/plugins/another.py b/tests/modules/plugins/another.py
index 2a9910d0..096d3b9d 100644
--- a/tests/modules/plugins/another.py
+++ b/tests/modules/plugins/another.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
+
"""A plugin for tests to reference."""
from coverage import CoveragePlugin
diff --git a/tests/modules/runmod1.py b/tests/modules/runmod1.py
index 671d81ef..b43b299a 100644
--- a/tests/modules/runmod1.py
+++ b/tests/modules/runmod1.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
+
# Used in the tests for run_python_module
import sys
print("runmod1: passed %s" % sys.argv[1])
diff --git a/tests/modules/usepkgs.py b/tests/modules/usepkgs.py
index 93c7d904..4e94acaa 100644
--- a/tests/modules/usepkgs.py
+++ b/tests/modules/usepkgs.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
+
import pkg1.p1a, pkg1.p1b
import pkg2.p2a, pkg2.p2b
import othermods.othera, othermods.otherb