Skip to content

Commit

Permalink
Merge pull request #236 from Mic92/composer
Browse files Browse the repository at this point in the history
fix composer test
  • Loading branch information
Mic92 authored Mar 18, 2024
2 parents a42ae67 + a6ceab8 commit ce6fd41
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@

from nix_update.options import Options
from nix_update.update import update
from nix_update.version.version import VersionPreference


def test_update(helpers: conftest.Helpers) -> None:
with helpers.testpkgs() as path:
opts = Options(attribute="composer", import_path=str(path))
opts = Options(
attribute="composer",
import_path=str(path),
# For 0.14.0 we get inconsistent lock file errors
version="0.13.1",
version_preference=VersionPreference.FIXED,
)
update(opts)
version = subprocess.run(
[
Expand Down

0 comments on commit ce6fd41

Please sign in to comment.