I've been told to place cloudsigma provider behind a feature flag, but the result of that is that the provider is not registered unless the env variable for cloudsigma is set.
So after wrapping the registration of the provider in the feature flag (see: https://github.com/juju/juju/commit/0a2cf42dcf051fe43bd803ebb144358723b4af82), the tests no longer pass, since there is no registered provider for cloudsigma. Manually calling s.SetFeatureFlag(feature.CloudSigma) from the Suite and/or Test setup methods doesn't help since by that point the "init" for each provider has already been run. Looking for suggestions? My thought is that the flag isn't needed since by nature providers are contained and their code is only called if you explicitly use the provider. -- Wayne Witzel III wayne.wit...@canonical.com
-- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev