Started adding some skeleton tests.

--HG--
branch : mjc
extra : transplant_source : .T%A9%E7%F3%0E%A620%F1G%C2%1E%C4%60%88%14%29%20%23
This commit is contained in:
Michael Cahill
2010-12-10 11:27:05 +11:00
parent fc95ac6031
commit 2365ff03f4
4 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/usr/bin/env python
#
# Copyright (c) 2010 WiredTiger. All rights reserved.
#
# Python unit tests for the wiredtiger.Connection class.
from wiredtiger import Connection
try:
import unittest2 as unittest
except ImportError:
import unittest
class TestConnections(unittest.TestCase):
def setUp(self):
pass
def test_open(self):
c = Connection('file:/testdb')
if __name__ == '__main__':
unittest.main()