Skip to content

Commit 7f44cf8

Browse files
committed
Don't fail the continuous replication test on 0.9.x.
1 parent fb0bb99 commit 7f44cf8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

couchdb/tests/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ def test_replicate_continuous(self):
7575
b = self.server.create('python-tests-a')
7676
result = self.server.replicate('python-tests', 'python-tests-a', continuous=True)
7777
self.assertEquals(result['ok'], True)
78-
self.assertTrue('_local_id' in result)
78+
version = tuple(int(i) for i in self.server.version.split('.'))
79+
if version >= (0, 10):
80+
self.assertTrue('_local_id' in result)
7981

8082
class DatabaseTestCase(unittest.TestCase):
8183

0 commit comments

Comments
 (0)