Permalink
Browse files

Added cdb.server back in (it's cheap).

  • Loading branch information...
1 parent d5aabc0 commit efc87328f2d85836ac435ebe990957caa0403c7b Eli Stevens committed Apr 19, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −0 couchable/core.py
  2. +1 −1 couchable/testing/test_couchable.py
View
@@ -215,6 +215,7 @@ def __init__(self, url=None, db=None, exists=None):
self.url = self.db.resource.url
self.server_url, self.name = self.url.rstrip('/').rsplit('/', 1)
+ self.server = couchdb.Server(self.server_url)
if not exists:
try:
@@ -237,7 +237,7 @@ def test_1_connection_22(self):
def test_1_connection_30_timing(self):
n = 10
n = 1
-
+
t0 = time.time()
cdb_list = [couchable.CouchableDb('testing_couchable_' + str(i)) for i in range(n)]
t1 = time.time()

0 comments on commit efc8732

Please sign in to comment.