summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/test/package_update_test.py
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-08-23 17:44:19 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-09-12 10:31:45 -0400
commita202f1647a28e4d246d0341e37501df44cb1a914 (patch)
tree2dfcfd0dd5f475bff402ea6c8a4e9cc0bda7ac79 /roles/openshift_health_checker/test/package_update_test.py
parentf4a328ad2dc1d1ba93efa15ac0bf4502bad40079 (diff)
downloadopenshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.gz
openshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.bz2
openshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.xz
openshift-a202f1647a28e4d246d0341e37501df44cb1a914.zip
openshift_checks: add retries in python
Diffstat (limited to 'roles/openshift_health_checker/test/package_update_test.py')
-rw-r--r--roles/openshift_health_checker/test/package_update_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_health_checker/test/package_update_test.py b/roles/openshift_health_checker/test/package_update_test.py
index 06489b0d7..7d9035a36 100644
--- a/roles/openshift_health_checker/test/package_update_test.py
+++ b/roles/openshift_health_checker/test/package_update_test.py
@@ -9,7 +9,7 @@ def test_package_update():
assert 'packages' in module_args
# empty list of packages means "generic check if 'yum update' will work"
assert module_args['packages'] == []
- return return_value
+ return {'foo': return_value}
result = PackageUpdate(execute_module).run()
- assert result is return_value
+ assert result['foo'] is return_value