[conduit: 3/138] Test all dataproviders that we have wrappers for



commit cc0e39c379d42504f9cdc333a11ca078f2c87dd8
Author: John Carr <john carr unrouted co uk>
Date:   Sun Apr 19 14:12:01 2009 +0100

    Test all dataproviders that we have wrappers for
---
 test/soup/test_dataprovider.py |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/test/soup/test_dataprovider.py b/test/soup/test_dataprovider.py
index 458bf17..f48beb0 100644
--- a/test/soup/test_dataprovider.py
+++ b/test/soup/test_dataprovider.py
@@ -1,3 +1,6 @@
+import unittest
+
+import modules
 
 class TestDataprovider(BaseTest):
 
@@ -19,3 +22,12 @@ class TestDataprovider(BaseTest):
     def test_get_num_items(self):
         pass
 
+class TestDataproviders(unittest.TestSuite):
+
+    def __init__(self, tests=None):
+        tests = []
+        for mod in modules.all():
+            tests.append(TestDataprovider(mod))
+
+        super(TestDataproviders, self).__init__(tests)
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]