inspec/test/unit/bundles
Adam Leff 88581ae3dd
Raise exception if profile target URL cannot be parsed
When attempting to parse the profile out of the target URL, we
were not raising an exception if we failed to do so. Such a situation
could arise if a user's inspec config.json is incorrect either due to
manual editing or failure to re-login after an upgrade past Automate
0.8.0.

This change provides a clear exception if this occurs and also adds
tests for the compliance_profile_name method.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-26 14:30:37 -05:00
..
inspec-compliance Raise exception if profile target URL cannot be parsed 2017-05-26 14:30:37 -05:00
inspec-supermarket Feature/fix ability to pass in supermarket url (#1595) 2017-03-29 12:42:24 -04:00
inspect-habitat Break out profile vendor activities into separate class 2017-03-29 10:22:20 +02:00