Skip to content

Commit

Permalink
Auto-use git_url_substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 4, 2024
1 parent 6bf98de commit 48cb955
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def pytest_configure():
os.environ['GITHUB_TOKEN'] = 'abc'


@pytest.fixture
@pytest.fixture(autouse=True)
def git_url_substitutions(fake_process):
cmd = ['git', 'config', '--get-regexp', r'url\..*\.insteadof']
stdout = textwrap.dedent(
Expand Down
1 change: 0 additions & 1 deletion jaraco/develop/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

class URLScheme:
"""
>>> getfixture('git_url_substitutions')
>>> scheme = URLScheme.lookup('gh://foo/bar')
>>> scheme.resolve('gh://foo/bar')
'https://github.com/foo/bar'
Expand Down

0 comments on commit 48cb955

Please sign in to comment.