Skip to content

Commit

Permalink
fix assertion value
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Nov 15, 2023
1 parent 20ae7b1 commit 72a78c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/create_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_test_not_found(self):
)
with pytest.raises(UserWarning) as e:
snap_generator.run()
assert "Test file 'main.nf.test' not found" in e
assert "Test file 'main.nf.test' not found" in str(e.value)


def test_unstable_snapshot(self):
Expand All @@ -115,4 +115,4 @@ def test_unstable_snapshot(self):
)
with pytest.raises(UserWarning) as e:
snap_generator.run()
assert "nf-test snapshot is not stable" in e
assert "nf-test snapshot is not stable" in str(e.value)

0 comments on commit 72a78c0

Please sign in to comment.