From 305318a6b2a9cbd638c6c48ce447fb228d7fe47d Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 30 Jun 2017 09:04:29 -0300 Subject: [test] mark tests that depend on couchdb server --- testing/tests/sync/test_sync_target.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing/tests/sync/test_sync_target.py') 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 -- cgit v1.2.3