diff options
author | Michael Fenn <fennm@deshawresearch.com> | 2014-03-24 16:28:59 -0400 |
---|---|---|
committer | Michael Fenn <fennm@deshawresearch.com> | 2014-03-24 16:28:59 -0400 |
commit | e06030b424d3405cdf0072f036f41db43634f404 (patch) | |
tree | 48bb87e0b3180bdbe8626fd250bc6b92fed26c04 /osx/postflight | |
parent | 852f0c680646d34ff9c17eabf9212af650633d6e (diff) | |
download | bcfg2-e06030b424d3405cdf0072f036f41db43634f404.tar.gz bcfg2-e06030b424d3405cdf0072f036f41db43634f404.tar.bz2 bcfg2-e06030b424d3405cdf0072f036f41db43634f404.zip |
Be more robust about checking for reporting_db_engine presence
This matters during the test suite:
======================================================================
ERROR: Failure: AttributeError ('Namespace' object has no attribute
'reporting_db_engine')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nose/loader.py", line 364, in
loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python2.6/site-packages/nose/importer.py", line 39, in
importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python2.6/site-packages/nose/importer.py", line 84, in
importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File
"/d/en/fennm-0/bcfg2-dbrouter/bcfg2-dbrouter.git/testsuite/Testtools/__init__.py",
line 14, in <module>
from common import *
File
"/d/en/fennm-0/bcfg2-dbrouter/bcfg2-dbrouter.git/testsuite/common.py",
line 62, in <module>
Bcfg2.DBSettings.finalize_django_config()
File
"/d/en/fennm-0/bcfg2-dbrouter/bcfg2-dbrouter.git/src/lib/Bcfg2/DBSettings.py",
line 99, in finalize_django_config
if opts.reporting_db_engine is not None:
AttributeError: 'Namespace' object has no attribute
'reporting_db_engine'
Diffstat (limited to 'osx/postflight')
0 files changed, 0 insertions, 0 deletions