armada/armada/tests/unit
Felipe Monteiro aa07ae72d5 fix: Fix controller enforcing a nonexistent policy
This patch set corrects in an issue in Armada's
"TestReleasesManifestController" in which a nonexistent policy
"armada:tests_manifest" is getting enforced; note that it is
nowhere to be found among Armada's actual policies:

[0] http://codesearch.openstack.org/?q=tests_manifest&i=nope&files=&repos=airship-armada
[1] https://github.com/openstack/airship-armada/blob/master/armada/common/policies/service.py
[2] 9fad5cff0a/etc/armada/policy.yaml (L28)

As [2] demonstrates, the policy is actually called
"armada:test_manifest" NOT "armada:tests_manifest" (with an "s").

The root cause is related to how Armada is calling oslo.policy;
this will be fixed in a follow up (by root cause, the fact that
this issue is allowed to exist in the first place without an
error getting thrown somehwere).

Change-Id: I3e424e657e7d11e7968359d7a9ed13fa5d3e0896
2018-10-12 18:07:12 +01:00
..
api fix: Fix controller enforcing a nonexistent policy 2018-10-12 18:07:12 +01:00
cli testing-utils-lib 2017-06-28 12:47:26 -05:00
common Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
handlers Add chart API to wait on k8s resource types/labels 2018-10-05 16:48:32 -05:00
resources Fix for get manifest 2018-09-14 15:27:03 +00:00
utils Manage temp dirs from git clone. 2018-06-25 19:08:18 -05:00
__init__.py Implement wait for timeout feature and unit test 2017-06-22 16:02:25 -05:00
base.py [test] Increase armada.handlers.armada test coverage 2018-06-11 10:15:28 -04:00
fake_policy.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
fixtures.py chore(docstring): Fix up improper sphinx syntax in docstrings 2018-06-22 21:35:29 +00:00