python-jenkins/tests
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
..
jobs Replace build_jobs_list_responses with actual Jenkins responses 2018-10-17 18:06:56 +02:00
__init__.py Fixes for this bug. 2012-05-17 16:10:00 +01:00
base.py Test requested URLs in test_getall 2018-10-17 18:06:56 +02:00
helper.py Check for 'Location' header in the response 2018-06-25 12:59:38 +03:00
test_build.py Add functions to retrieve more data from Jenkins 2018-04-25 13:30:29 +01:00
test_credential.py Add folder credential support 2018-08-03 06:39:13 +03:00
test_info.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_jenkins.py Allow adding extra HTTP headers to Jenkins requests 2018-09-12 13:42:23 +02:00
test_jenkins_sockets.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_job_folder.py Adds Cloudbees folder plugin support 2015-09-21 18:25:35 +01:00
test_node.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00
test_plugins.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_promotion.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_queue.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00
test_quiet_down.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_rest_endpoints.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00
test_script.py Revert "detect and respect http redirects" 2018-08-24 13:12:38 -04:00
test_version.py Migration to using requests 2018-02-12 11:16:54 +00:00
test_view.py Added folder support in views keeping backward compatibility and added tests for it. 2018-04-05 22:57:34 +02:00
test_whoami.py Update URLS that require depth or tree filters 2018-05-28 10:17:26 +01:00