diff options
author | drebs <drebs@leap.se> | 2016-11-17 10:12:38 -0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-11-17 10:12:38 -0200 |
commit | 3183e473748390927ea466ce72277465b28b4430 (patch) | |
tree | ca0f58801653801c5cb30f27b0404377d42fa72a /testing/tests/couch/test_backend.py | |
parent | d77c3868bd02bbd59965498d6d1a0b59f0512338 (diff) | |
parent | 0fd7e9f018b02161a844c11332ffced56b256010 (diff) |
Merge tag '0.9.0' into debian/platform-0.9
Tag version 0.9.0
Diffstat (limited to 'testing/tests/couch/test_backend.py')
-rw-r--r-- | testing/tests/couch/test_backend.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/testing/tests/couch/test_backend.py b/testing/tests/couch/test_backend.py index f178e8a5..4fad11cf 100644 --- a/testing/tests/couch/test_backend.py +++ b/testing/tests/couch/test_backend.py @@ -39,12 +39,8 @@ class TestCouchBackendImpl(CouchDBTestCase): def test__allocate_doc_id(self): db = couch.CouchDatabase.open_database( - urljoin( - 'http://localhost:' + str(self.couch_port), - ('test-%s' % uuid4().hex) - ), - create=True, - ensure_ddocs=True) + urljoin(self.couch_url, 'test-%s' % uuid4().hex), + create=True) doc_id1 = db._allocate_doc_id() self.assertTrue(doc_id1.startswith('D-')) self.assertEqual(34, len(doc_id1)) |