diff options
author | Thomas Wiest <twiest@redhat.com> | 2017-01-25 14:07:22 -0500 |
---|---|---|
committer | Thomas Wiest <twiest@redhat.com> | 2017-01-31 08:15:37 -0500 |
commit | b415e4855970131a77112940646a95641d3bd27b (patch) | |
tree | 951ce174c71c495db66b522fa0730816e4878f93 /roles/lib_openshift/src | |
parent | fca215887b2e4224779b58e8fd1b7662ec993f83 (diff) | |
download | openshift-b415e4855970131a77112940646a95641d3bd27b.tar.gz openshift-b415e4855970131a77112940646a95641d3bd27b.tar.bz2 openshift-b415e4855970131a77112940646a95641d3bd27b.tar.xz openshift-b415e4855970131a77112940646a95641d3bd27b.zip |
Added repoquery to lib_utils.
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r-- | roles/lib_openshift/src/sources.yml | 7 | ||||
-rwxr-xr-x | roles/lib_openshift/src/test/unit/oc_secret.py | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/roles/lib_openshift/src/sources.yml b/roles/lib_openshift/src/sources.yml index 8a825a402..28929c02a 100644 --- a/roles/lib_openshift/src/sources.yml +++ b/roles/lib_openshift/src/sources.yml @@ -8,6 +8,7 @@ oadm_manage_node.py: - lib/base.py - class/oadm_manage_node.py - ansible/oadm_manage_node.py + oc_edit.py: - doc/generated - doc/license @@ -17,6 +18,7 @@ oc_edit.py: - lib/base.py - class/oc_edit.py - ansible/oc_edit.py + oc_obj.py: - doc/generated - doc/license @@ -26,6 +28,7 @@ oc_obj.py: - lib/base.py - class/oc_obj.py - ansible/oc_obj.py + oc_route.py: - doc/generated - doc/license @@ -36,6 +39,7 @@ oc_route.py: - lib/route.py - class/oc_route.py - ansible/oc_route.py + oc_secret.py: - doc/generated - doc/license @@ -46,6 +50,7 @@ oc_secret.py: - lib/secret.py - class/oc_secret.py - ansible/oc_secret.py + oc_scale.py: - doc/generated - doc/license @@ -57,6 +62,7 @@ oc_scale.py: - lib/replicationcontroller.py - class/oc_scale.py - ansible/oc_scale.py + oc_version.py: - doc/generated - doc/license @@ -66,6 +72,7 @@ oc_version.py: - lib/base.py - class/oc_version.py - ansible/oc_version.py + oc_serviceaccount.py: - doc/generated - doc/license diff --git a/roles/lib_openshift/src/test/unit/oc_secret.py b/roles/lib_openshift/src/test/unit/oc_secret.py index 221f00ed6..835918b95 100755 --- a/roles/lib_openshift/src/test/unit/oc_secret.py +++ b/roles/lib_openshift/src/test/unit/oc_secret.py @@ -81,7 +81,7 @@ class OCSecretTest(unittest.TestCase): # Making sure our mock was called as we expected mock_openshift_cmd.assert_has_calls([ - mock.call(['get', 'secrets', '-o', 'json', 'secretname'], output=True), + mock.call(['get', 'secrets', 'secretname', '-o', 'json'], output=True), mock.call(['secrets', 'new', 'secretname', 'somesecret.json=/tmp/somesecret.json']), ]) |