Skip to content

Commit a8733f3

Browse files
committed
fixes
1 parent 73d0744 commit a8733f3

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
MODFLOW_DEVTOOLS_NO_AUTO_SYNC: 1
114114
TEST_DFN_PATH: ${{ github.workspace }}/modflow6/doc/mf6io/mf6ivar/dfn
115115
# use --dist loadfile to so tests requiring pytest-virtualenv run on the same worker
116-
run: uv run pytest -v -n auto --dist loadfile --durations 0 --ignore test_download.py --ignore test_models.py
116+
run: uv run pytest -v -n auto --dist loadfile --durations 0 --ignore test_download.py --ignore test_models.py --ignore test_dfns_registry.py
117117

118118
- name: Run network-dependent tests
119119
# only invoke the GH API on one OS and Python version
@@ -124,8 +124,7 @@ jobs:
124124
env:
125125
REPOS_PATH: ${{ github.workspace }}
126126
GITHUB_TOKEN: ${{ github.token }}
127-
# DFNs API - use test fork with registry file for RemoteDfnRegistry tests
128-
# Note: TEST_DFN_PATH is intentionally NOT set here to use fetch behavior
127+
# TODO: switch to upstream when dfn registry file added
129128
TEST_DFNS_REPO: wpbonelli/modflow6
130129
TEST_DFNS_REF: registry
131130
TEST_DFNS_SOURCE: modflow6

autotest/test_dfns_registry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def test_clean_command_no_cache(self, tmp_path):
520520
from modflow_devtools.dfns.__main__ import main
521521

522522
# Patch get_cache_dir to return nonexistent directory
523-
with patch("modflow_devtools.dfn.__main__.get_cache_dir") as mock_cache_dir:
523+
with patch("modflow_devtools.dfns.__main__.get_cache_dir") as mock_cache_dir:
524524
mock_cache_dir.return_value = tmp_path / "nonexistent"
525525
result = main(["clean"])
526526

0 commit comments

Comments
 (0)