Skip to content

Commit

Permalink
fix composer test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Mar 18, 2024
1 parent a42ae67 commit a6ceab8
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 a6ceab8

Please sign in to comment.