summaryrefslogtreecommitdiffstats
path: root/Tests/PythonCoverage/coveragetest/test_foo.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/PythonCoverage/coveragetest/test_foo.py')
-rw-r--r--Tests/PythonCoverage/coveragetest/test_foo.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/PythonCoverage/coveragetest/test_foo.py b/Tests/PythonCoverage/coveragetest/test_foo.py
new file mode 100644
index 0000000..51a69d8
--- /dev/null
+++ b/Tests/PythonCoverage/coveragetest/test_foo.py
@@ -0,0 +1,11 @@
+
+import foo
+import unittest
+
+class TestFoo(unittest.TestCase):
+
+ def testFoo(self):
+ self.assertEquals(foo.foo(), 6, 'foo() == 6')
+
+if __name__ == '__main__':
+ unittest.main()