Support running func tests against non-<account>:<user> auth systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Our func tests are a little split-brain about whether to support an auth system that doesn't have user ids like <account>:<user>. In setup_package [1] we seem to tolerate it, and a bunch of tests work with such a system, but then a bunch of others (half, give or take?) bomb out with KeyErrors because their test env looks for (say) tf.config[
I *think* this is just a matter of adding some
if 'account2' in tf.config:
...
blocks in the appropriate places?
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
or maybe even changing occurences of = tf.config[ 'account2' ] to = tf.config. get('account2' ) would do it?