summaryrefslogtreecommitdiff
path: root/test/test_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_data.py')
-rw-r--r--test/test_data.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_data.py b/test/test_data.py
new file mode 100644
index 00000000..557f775f
--- /dev/null
+++ b/test/test_data.py
@@ -0,0 +1,10 @@
+"""Tests for coverage.data"""
+
+import unittest
+from coverage.data import CoverageData
+
+class DataTest(unittest.TestCase):
+ def test_reading(self):
+ covdata = CoverageData()
+ covdata.read()
+ self.assertEqual(covdata.summary(), {})