diff options
author | Tim Rozet <trozet@redhat.com> | 2018-04-06 14:55:00 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2018-04-06 14:55:00 -0400 |
commit | 3812d0987d078a8a0ad93724e8188994b7579e50 (patch) | |
tree | bd113a39dc347fee791f15aaeb5036103e3b1f22 /apex/tests/test_apex_undercloud.py | |
parent | c8f07fda6445b9b3b1fcb9d97f05cd40fffe8daf (diff) |
Fixes delorean repo update on undercloud
Previous fix to update delorean repo on undercloud was always failing
because the operations passed to virt-customize were not in a list type.
JIRA: APEX-565
Change-Id: Ic883309ac1c3aa6027dc252635e404e5355c269d
Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'apex/tests/test_apex_undercloud.py')
-rw-r--r-- | apex/tests/test_apex_undercloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/tests/test_apex_undercloud.py b/apex/tests/test_apex_undercloud.py index 9e2752ad..fce7a557 100644 --- a/apex/tests/test_apex_undercloud.py +++ b/apex/tests/test_apex_undercloud.py @@ -225,5 +225,5 @@ class TestUndercloud(unittest.TestCase): "https://trunk.rdoproject.org/centos7-{}" "/current-tripleo/delorean.repo".format( constants.DEFAULT_OS_VERSION)) - test_ops = {'--run-command': download_cmd} + test_ops = [{'--run-command': download_cmd}] mock_vutils.virt_customize.assert_called_with(test_ops, uc.volume) |