Closed jhutar closed 6 years ago
that message is actually expected, we just fail to catch the proper exception:
with self.assertRaises(CLIBaseError):
make_fake_host({...})
and what we got:
E robottelo.cli.factory.CLIFactoryError: Failed to create Host with data:{...}...
CLIFactoryError
<- this is the one we should asserthttps://github.com/SatelliteQE/robottelo/blob/master/robottelo/cli/factory.py#L132