[Zope-CVS] CVS: Products/AdaptableStorage/tests - testAll.py:1.2

Shane Hathaway shane@zope.com
Wed, 25 Dec 2002 00:28:06 -0500


Update of /cvs-repository/Products/AdaptableStorage/tests
In directory cvs.zope.org:/tmp/cvs-serv13179/tests

Modified Files:
	testAll.py 
Log Message:
Got copy/paste working using a patch.  Also attempted ZEXP import/export, but
it's a bugger to get right, so I added a module with my experimental code.

Merry Christmas!


=== Products/AdaptableStorage/tests/testAll.py 1.1 => 1.2 ===
--- Products/AdaptableStorage/tests/testAll.py:1.1	Wed Nov 27 13:37:08 2002
+++ Products/AdaptableStorage/tests/testAll.py	Wed Dec 25 00:27:35 2002
@@ -23,6 +23,18 @@
 from testASStorage import ASStorageTests
 from testZope2FS import Zope2FSTests
 
+try:
+    import psycopg
+except ImportError:
+    pass
+else:
+    # Run the Postgres tests.
+    from Products.AdaptableStorage.gateway_sql.tests.testZope2SQL \
+         import Zope2SQLTests
+    from Products.AdaptableStorage.gateway_sql.tests.testInterfaceImpl \
+         import InterfaceImplTests as InterfaceImplTests2
+
+
 if __name__ == '__main__':
     unittest.main()