diff options
Diffstat (limited to '')
4 files changed, 3 insertions, 7 deletions
diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py index edbd876b..0f2fb29c 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/spec.py @@ -27,7 +27,7 @@ class PluginSpec: name is the name to use for the plugin (default is value of repo). """ repository_host = RepositoryHost.GITHUB - gitref = "master" + # gitref = "master" repository_host_regex = r"((?P<repository_host>[^:]+):)" owner_regex = r"(?P<owner>[^/:]+)" diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py index a90d67c6..75dd251a 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/fixtures.py @@ -3,7 +3,7 @@ import json import pytest from pytest_mock import MockerFixture -from update_vim_plugins.nix import GitSource, License, UrlSource +from update_vim_plugins.nix import GitSource, UrlSource @pytest.fixture() diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py index 5d6e51b1..46e59f76 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_nix.py @@ -1,7 +1,5 @@ from update_vim_plugins.nix import GitSource, License, UrlSource -from .fixtures import git_source, rev, sha256, url, url_source - def test_url_source(url_source: UrlSource, url: str, sha256: str): assert url_source.url == url diff --git a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py index 27d1a8db..32377e24 100644 --- a/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py +++ b/sys/nixpkgs/pkgs/update_vim_plugins/update_vim_plugins/tests/test_plugin.py @@ -4,12 +4,10 @@ from typing import Callable import pytest from pytest_mock import MockFixture -from update_vim_plugins.nix import License, Source, UrlSource +from update_vim_plugins.nix import License, UrlSource from update_vim_plugins.plugin import GitHubPlugin, VimPlugin from update_vim_plugins.spec import PluginSpec -from .fixtures import sha256, url, url_source - @pytest.fixture() def mock_source(sha256: str): |