Skip to content

Commit

Permalink
fix: assert location
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Oct 12, 2023
1 parent d3a72d9 commit cbb4668
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/packages/test_locker.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,11 @@ def test_reading_lock_file_should_raise_an_error_on_missing_metadata(
with pytest.raises(RuntimeError) as e:
_ = locker.lock_data

assert (
"The lock file does not have a metadata entry.\nRegenerate the lock file with"
" the `poetry lock` command."
in str(e.value)
)
assert (
"The lock file does not have a metadata entry.\nRegenerate the lock file with"
" the `poetry lock` command."
in str(e.value)
)


def test_locking_legacy_repository_package_should_include_source_section(
Expand Down

0 comments on commit cbb4668

Please sign in to comment.