Mark deprecated tests
This commit is contained in:
parent
d2afab6846
commit
eeba216cfe
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
[pytest]
|
[pytest]
|
||||||
cache_dir = /tmp
|
cache_dir = /tmp
|
||||||
addopts = -ra
|
addopts = -ra
|
||||||
|
markers =
|
||||||
|
deprecated: marks tests for deprecated features (deselect with '-m "not deprecated"')
|
||||||
|
|
|
@ -6,6 +6,9 @@ import py
|
||||||
import pytest
|
import pytest
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
|
# These tests are for the alternate processing in YADM_COMPATIBILITY=1 mode
|
||||||
|
pytestmark = pytest.mark.deprecated
|
||||||
|
|
||||||
# These test IDs are broken. During the writing of these tests, problems have
|
# These test IDs are broken. During the writing of these tests, problems have
|
||||||
# been discovered in the way yadm orders matching files.
|
# been discovered in the way yadm orders matching files.
|
||||||
BROKEN_TEST_IDS = [
|
BROKEN_TEST_IDS = [
|
||||||
|
|
|
@ -4,6 +4,9 @@ import os
|
||||||
import pytest
|
import pytest
|
||||||
import utils
|
import utils
|
||||||
|
|
||||||
|
# These tests are for the template processing in YADM_COMPATIBILITY=1 mode
|
||||||
|
pytestmark = pytest.mark.deprecated
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='module')
|
@pytest.fixture(scope='module')
|
||||||
def envtpl_present(runner):
|
def envtpl_present(runner):
|
||||||
|
|
Loading…
Reference in a new issue