summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAigars Mahinovs <aigarius@debian.org>2018-08-10 13:38:51 +0200
committerAigars Mahinovs <Aigars.Mahinovs@bmw.de>2018-08-10 14:37:09 +0200
commit2bec965c2f0bcebeaca032e32ef63f248586cbcd (patch)
treefa8b36905fff9b82a6e1f515d4425236317f09dc /tests
parentb23394b47bac956765e682acc93d2c4debb8b0e7 (diff)
downloadpython-jenkins-job-builder-2bec965c2f0bcebeaca032e32ef63f248586cbcd.tar.gz
python-jenkins-job-builder-2bec965c2f0bcebeaca032e32ef63f248586cbcd.tar.xz
python-jenkins-job-builder-2bec965c2f0bcebeaca032e32ef63f248586cbcd.zip
Views require case insensitive sorting
Regular sorting places capital letters before lowercase, that is incorrect order for Jenkins and causes jobs with names starting with capital letters to become invisible in generated views Change-Id: I2431d4fd5b86ce7ed6393b7d89552d08f025a5b9 Task: 12611 Story: 2001844
Diffstat (limited to 'tests')
-rw-r--r--tests/views/fixtures/view_list001.xml1
-rw-r--r--tests/views/fixtures/view_list001.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/views/fixtures/view_list001.xml b/tests/views/fixtures/view_list001.xml
index 1d74edf8..5f8e1804 100644
--- a/tests/views/fixtures/view_list001.xml
+++ b/tests/views/fixtures/view_list001.xml
@@ -10,6 +10,7 @@
<string>job-name-1</string>
<string>job-name-2</string>
<string>job-name-3</string>
+ <string>Job-name-4</string>
</jobNames>
<jobFilters/>
<columns>
diff --git a/tests/views/fixtures/view_list001.yaml b/tests/views/fixtures/view_list001.yaml
index 5067bc18..5ce9f0fc 100644
--- a/tests/views/fixtures/view_list001.yaml
+++ b/tests/views/fixtures/view_list001.yaml
@@ -7,6 +7,7 @@ job-name:
- job-name-1
- job-name-3
- job-name-2
+ - Job-name-4
columns:
- status
- weather