diff --git a/conans/test/integration/package_id/compatible_test.py b/conans/test/integration/package_id/compatible_test.py index 9199c2ee5be..782fe7ca24a 100644 --- a/conans/test/integration/package_id/compatible_test.py +++ b/conans/test/integration/package_id/compatible_test.py @@ -279,7 +279,7 @@ def package_info(self): client.save({"conanfile.py": GenConanfile().with_require("pkg/0.1")}) client.run("lock create . -s os=Windows --lockfile-out=deps.lock") - client.run("install . --lockfile=deps.lock") + client.run("install . -s os=Windows --lockfile=deps.lock") self.assertIn("pkg/0.1: PackageInfo!: OS: Linux!", client.out) self.assertIn("9a4eb3c8701508aa9458b1a73d0633783ecc2270", client.out) self.assertIn("pkg/0.1: Already installed!", client.out)