Skip to content

Commit

Permalink
Mark deprecated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLocehiliosan committed Oct 2, 2019
1 parent d2afab6 commit eeba216
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[pytest]
cache_dir = /tmp
addopts = -ra
markers =
deprecated: marks tests for deprecated features (deselect with '-m "not deprecated"')
3 changes: 3 additions & 0 deletions test/test_compat_alt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
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 = [
Expand Down
3 changes: 3 additions & 0 deletions test/test_compat_jinja.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
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):
Expand Down

0 comments on commit eeba216

Please sign in to comment.