Skip to content

Commit 71a0a65

Browse files
committed
implement test for local extension update
see cruft#253
1 parent 1f74151 commit 71a0a65

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_cli.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,4 +695,8 @@ def test_local_extension_update(cruft_runner, tmpdir):
695695
)
696696
assert result.exit_code == 0
697697
with open(tmpdir / "test" / "README.md") as f:
698-
assert "Updated11" in f.read()
698+
contents = f.read()
699+
# check if the text has been updated
700+
assert "Updated11" in contents
701+
# check if the extension has been updated
702+
assert "This has been updated" in contents

0 commit comments

Comments
 (0)