Skip to content
Myr

Don't test using a file in docs/ (#3102)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Rowlando13 · committed by GitHub · parents e27b307, 1e4a507 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • tests:+3 added−1 removed

1 file+3 added−1 removed

modified:tests/test_utils.py+3 added-1 removed
702 unmodified lines
703 assert user in click.utils._expand_args(["~"])704 monkeypatch.setenv("CLICK_TEST", "hello")705 assert "hello" in click.utils._expand_args(["$CLICK_TEST"])706 assert "pyproject.toml" in click.utils._expand_args(["*.toml"])707 assert os.path.join("docs", "conf.py") in click.utils._expand_args(["**/conf.py"])707 assert os.path.join("tests", "conftest.py") in click.utils._expand_args(708 ["**/conftest.py"]709 )710 assert "*.not-found" in click.utils._expand_args(["*.not-found"])711 # a bad glob pattern, such as a pytest identifier, should return itself712 assert click.utils._expand_args(["test.py::test_bad"])[0] == "test.py::test_bad"713
35 unmodified lines