magnum/magnum
Dane LeBlanc dffbabcdc7 Log copy for failed functional tests cannot be disabled
Setting the following in functional_creds.conf doesn't have any effect
for failed functional container tests:
    copy_logs = False

Description of changes/issues addressed:
- Client functional tests look in functional_creds.conf for the
  copy_logs setting while tempest/api tests look in tempest.conf.
  So an accessor method 'get_copy_logs' is added for BaseMagnumTest
  (for tempest tests), and this gets overridden by BaseMagnumClient.
- Call to lamda was missing an argument in copy_logs_handler.
- set_copy_logs in config.py was setting cls.copy logs inconsistently
  (sometimes boolean True, otherwise to a string).
- BaseMagnumClient was calling bool() on a string: "bool(copy_logs)".
  bool() on a string always returns True except for null string.

Change-Id: I234fd0433602914fdf03f04f2394f6dc802df4fd
Closes-Bug: #1570949
2016-04-18 11:22:01 -04:00
..
api Merge "replace wsexpose by magnum.api.expose.expose" 2016-04-12 14:40:46 +00:00
cmd Fix config parser error magnum-template-manage list-templates 2016-03-17 13:56:15 +08:00
common Use k8sclient library 2016-04-17 03:35:39 +00:00
conductor Merge "Add support for docker registry" 2016-04-17 15:11:32 +00:00
db Allow update baymodel's public field even if referenced 2016-03-23 11:59:30 +08:00
elements/fedora-atomic Add script to install image build dependencies 2016-04-11 21:55:03 +02:00
hacking Add hacking check to ensure not use xrange() 2016-03-23 11:19:59 +05:30
locale Imported Translations from Zanata 2016-04-17 06:03:17 +00:00
objects Use k8sclient library 2016-04-17 03:35:39 +00:00
public/css Incorporate feedback from the Initial commit review 2014-11-18 14:25:08 +00:00
service Replace string format arguments with function parameters 2016-02-20 23:39:33 +08:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
templates Merge "Add support for docker registry" 2016-04-17 15:11:32 +00:00
tests Log copy for failed functional tests cannot be disabled 2016-04-18 11:22:01 -04:00
MANIFEST.in Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
__init__.py Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
i18n.py Setup for translation 2015-05-24 03:13:55 +00:00
opts.py Add support for docker registry 2016-04-13 16:17:20 +08:00
version.py Remove coding:utf-8 2015-08-03 23:28:22 +08:00