Skip to content

Commit

Permalink
wip: remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed May 20, 2024
1 parent f792bd5 commit 9c2ea29
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions gitman/tests/test_models_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import pytest
from expecter import expect

from gitman.models import Config, find_nested_configs, load_config
from gitman.models.config import filter_nested_configs
from gitman.models import Config, load_config

from .conftest import FILES

Expand Down Expand Up @@ -149,17 +148,3 @@ def test_load_from_directory_without_config_file(self, tmpdir):
config = load_config()

assert None is config

@pytest.mark.xfail
@pytest.mark.integration
def test_filter_nested_config(self):
"""Verify that filter_nested_config removes nested configs"""
config = load_config(FILES)
assert None is not config
count = config.install_dependencies(depth=2)
assert 5 == count
configs = [config] if config else []
configs.extend(find_nested_configs(FILES, depth=2, skip_paths=[]))
assert 2 == len(configs)
configs = filter_nested_configs(configs)
assert 1 == len(configs)

0 comments on commit 9c2ea29

Please sign in to comment.