aboutsummaryrefslogtreecommitdiff
path: root/kolla/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2024-02-22 13:43:09 +0000
committerGerrit Code Review <review@openstack.org>2024-02-22 13:43:09 +0000
commit0246b32d70da39f6e837974f339e845f0c8b9e8f (patch)
treea0b47f8f219469ed36eb4aa1b8d5c721d68f2f76 /kolla/tests
parent756ee984c3c761514115c342e7cba9a3cb533d02 (diff)
parent750a137815f1ca58c7e65d23e9d63403ea282b1a (diff)
downloadkolla-0246b32d70da39f6e837974f339e845f0c8b9e8f.tar.gz
kolla-0246b32d70da39f6e837974f339e845f0c8b9e8f.zip
Merge "Move curl sources to sources.py"
Diffstat (limited to 'kolla/tests')
-rw-r--r--kolla/tests/test_build.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py
index 1aa0b3a9d..7ffa6827a 100644
--- a/kolla/tests/test_build.py
+++ b/kolla/tests/test_build.py
@@ -293,6 +293,15 @@ class TasksTest(base.TestCase):
{'source': 'http://fake/source4', 'type': None,
'name': 'fake-image-base4',
'reference': 'http://fake/reference4',
+ 'enabled': True},
+ {'source': 'http://fake/source${version}',
+ 'type': 'url',
+ 'name': 'fake-image-base5',
+ 'version': '5',
+ 'enabled': True},
+ {'source': 'http://fake/source${debian_arch}',
+ 'type': 'url',
+ 'name': 'fake-image-base6',
'enabled': True}]:
self.image.source = source
push_queue = mock.Mock()
@@ -499,7 +508,8 @@ class KollaWorkerTest(base.TestCase):
'reference': 'master',
'source': 'https://opendev.org/x/networking-arista',
'type': 'git',
- 'enabled': True
+ 'enabled': True,
+ 'sha256': None
}
found = False