summaryrefslogtreecommitdiff
path: root/testing/tests/sync/test_sync_target.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-06-30 09:04:29 -0300
committerKali Kaneko <kali@leap.se>2017-07-07 20:59:51 +0200
commit305318a6b2a9cbd638c6c48ce447fb228d7fe47d (patch)
treef31ce5be7312fa592604f51af48b3e59c23acde7 /testing/tests/sync/test_sync_target.py
parentab297c4efe10c70949fac5384a63cbf553ba5da9 (diff)
[test] mark tests that depend on couchdb server
Diffstat (limited to 'testing/tests/sync/test_sync_target.py')
-rw-r--r--testing/tests/sync/test_sync_target.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/tests/sync/test_sync_target.py b/testing/tests/sync/test_sync_target.py
index bfa322dc..712f0d3f 100644
--- a/testing/tests/sync/test_sync_target.py
+++ b/testing/tests/sync/test_sync_target.py
@@ -20,6 +20,7 @@ Test Leap backend bits: sync target
import os
import time
import json
+import pytest
import random
import string
import shutil
@@ -148,6 +149,7 @@ def make_local_db_and_token_soledad_target(
return db, st
+@pytest.mark.needs_couch
class TestSoledadSyncTarget(
TestWithScenarios,
SoledadWithCouchServerMixin,
@@ -401,6 +403,7 @@ target_scenarios = [
]
+@pytest.mark.needs_couch
class SoledadDatabaseSyncTargetTests(
TestWithScenarios,
SoledadWithCouchServerMixin,
@@ -795,6 +798,7 @@ class SyncTimeoutError(Exception):
pass
+@pytest.mark.needs_couch
class TestSoledadDbSync(
TestWithScenarios,
SoledadWithCouchServerMixin,
@@ -952,6 +956,7 @@ class TestSoledadDbSync(
return d
+@pytest.mark.needs_couch
class SQLCipherSyncTargetTests(SoledadDatabaseSyncTargetTests):
# TODO: implement _set_trace_hook(_shallow) in SoledadHTTPSyncTarget so