Browse Source

Mark deprecated tests

pull/174/head
Tim Byrne 2 years ago
parent
commit
eeba216cfe
No known key found for this signature in database GPG Key ID: 14DB4FC2465A4B12
  1. 2
      pytest.ini
  2. 3
      test/test_compat_alt.py
  3. 3
      test/test_compat_jinja.py

2
pytest.ini

@ -1,3 +1,5 @@
[pytest]
cache_dir = /tmp
addopts = -ra
markers =
deprecated: marks tests for deprecated features (deselect with '-m "not deprecated"')

3
test/test_compat_alt.py

@ -6,6 +6,9 @@ import py
import pytest
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
# been discovered in the way yadm orders matching files.
BROKEN_TEST_IDS = [

3
test/test_compat_jinja.py

@ -4,6 +4,9 @@ import os
import pytest
import utils
# These tests are for the template processing in YADM_COMPATIBILITY=1 mode
pytestmark = pytest.mark.deprecated
@pytest.fixture(scope='module')
def envtpl_present(runner):

Loading…
Cancel
Save