python-jenkins/tests/jobs
Tomas Janousek 05986a64d7 Replace build_jobs_list_responses with actual Jenkins responses
This abstraction did more harm than good -- pretended to create correct
JSON responses from a simpler structure, but created responses that were
very far from what Jenkins would return:

* "url" fields didn't contain folders, but nobody noticed as these
  weren't used anyway

* "jobs" fields contained the string "null" (not JSON null, an actual
  JSON string!), whereas real Jenkins returns a list of almost empty
  objects (just a "class" field, if Jenkins is new enough, otherwise
  nothing)

* "color" field is absent from folders

The usage of deepcopy, insert and append totally obstructed the real
contents of those responses from most readers. Let's just be a bit
verbose here, please.

Change-Id: Ida2cfa3662e491e4178228096dc622cdd859202f
2018-10-17 18:06:56 +02:00
..
__init__.py Separate tests in separate files and classes 2015-08-25 01:11:47 +01:00
base.py Replace build_jobs_list_responses with actual Jenkins responses 2018-10-17 18:06:56 +02:00
test_assert.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_build.py Check for 'Location' header in the response 2018-06-25 12:59:38 +03:00
test_config.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_copy.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_count.py Separate tests in separate files and classes 2015-08-25 01:11:47 +01:00
test_create.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_debug.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_delete.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_disable.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_enable.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_get.py Replace build_jobs_list_responses with actual Jenkins responses 2018-10-17 18:06:56 +02:00
test_getall.py Replace build_jobs_list_responses with actual Jenkins responses 2018-10-17 18:06:56 +02:00
test_info.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_name.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_reconfig.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_rename.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_set_next_build_number.py Migration to using requests 2018-02-12 11:16:54 +00:00