no automatic desasociation
@@ -446,3 +446,10 @@ class Pkg(ConanFile):
self.assertTrue(error)
self.assertIn("ERROR: Hello/0.1@lasote/stable was not found in remote 'default'",
client.out)
+
+ # If it was associated, it has to be desasociated
+ client.run("remote remove_ref Hello/0.1@lasote/stable")
+ error = client.run("install Hello/0.1@lasote/stable", ignore_error=True)
+ self.assertTrue(error)
+ self.assertIn("ERROR: Unable to find 'Hello/0.1@lasote/stable' in remotes",
+ client.out)
