Rename tags job variable jobtags
And make it an ansible list.
Change-Id: I36f10321e4bb8384f73846185808e6e6a57087f0
diff --git a/tests/unit/test_scheduler.py b/tests/unit/test_scheduler.py
index 3e60ead..98ede65 100755
--- a/tests/unit/test_scheduler.py
+++ b/tests/unit/test_scheduler.py
@@ -2763,13 +2763,13 @@
self.assertEqual(len(self.history), 2)
results = {self.getJobFromHistory('merge',
- project='org/project1').uuid: 'extratag merge',
+ project='org/project1').uuid: ['extratag', 'merge'],
self.getJobFromHistory('merge',
- project='org/project2').uuid: 'merge'}
+ project='org/project2').uuid: ['merge']}
for build in self.history:
self.assertEqual(results.get(build.uuid, ''),
- build.parameters['zuul'].get('tags'))
+ build.parameters['zuul'].get('jobtags'))
def test_timer(self):
"Test that a periodic job is triggered"