update tests for new outputs

This commit is contained in:
Gregory Becker 2023-05-15 18:00:02 -07:00
parent 08a5a59b21
commit bfb72c7fd6
2 changed files with 2 additions and 3 deletions

View File

@ -295,7 +295,7 @@ def test_env_install_same_spec_twice(install_mockery, mock_fetch):
# The second installation reports all packages already installed
out = install("cmake-client")
assert "already installed" in out
assert "Executing phase" not in output
def test_env_definition_symlink(install_mockery, mock_fetch, tmpdir):

View File

@ -749,8 +749,7 @@ def test_install_overwrite_in_env(tmpdir, mock_fetch, install_mockery, mutable_m
install("--add", "dependency-install")
output = install("-y", "--overwrite", "dependency-install")
print(output)
assert "already installed" not in output
assert "Executing phase" in output
@pytest.mark.regression("12002")