Just following up from our conversation on IRC yesterday. There are some failing tests here that are in the upstream, but new failing tests are introduced with this merge. Specifically:
======================================================================
ERROR: tests.test_balancer_hook.HooksTest.test_installs_hook
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/tmp/bundletester-ylCDXc/apache2/.venv/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/tmp/bundletester-ylCDXc/apache2/hooks/tests/test_balancer_hook.py", line 512, in test_installs_hook
result = hooks.install_hook()
File "/tmp/bundletester-ylCDXc/apache2/hooks/hooks.py", line 294, in install_hook
open('config.apt-source', 'w').write(apt_source)
TypeError: expected a character buffer object
======================================================================
ERROR: tests.test_config_changed.ConfigChangedTest.test_config_changed_ensure_empty_site_dir
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "/tmp/bundletester-ylCDXc/apache2/.venv/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/tmp/bundletester-ylCDXc/apache2/hooks/tests/test_config_changed.py", line 76, in test_config_changed_ensure_empty_site_dir
hooks.config_changed()
File "/tmp/bundletester-ylCDXc/apache2/hooks/hooks.py", line 602, in config_changed
apt_source = config_data['apt-source']
KeyError: 'apt-source'
Hi Jay,
Just following up from our conversation on IRC yesterday. There are some failing tests here that are in the upstream, but new failing tests are introduced with this merge. Specifically:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= balancer_ hook.HooksTest. test_installs_ hook ------- ------- ------- ------- ------- ------- ------- ------- ------- ter-ylCDXc/ apache2/ .venv/local/ lib/python2. 7/site- packages/ mock/mock. py", line 1305, in patched ter-ylCDXc/ apache2/ hooks/tests/ test_balancer_ hook.py" , line 512, in test_installs_hook hook() ter-ylCDXc/ apache2/ hooks/hooks. py", line 294, in install_hook 'config. apt-source' , 'w').write( apt_source)
ERROR: tests.test_
-------
_StringException: Traceback (most recent call last):
File "/tmp/bundletes
return func(*args, **keywargs)
File "/tmp/bundletes
result = hooks.install_
File "/tmp/bundletes
open(
TypeError: expected a character buffer object
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= config_ changed. ConfigChangedTe st.test_ config_ changed_ ensure_ empty_site_ dir ------- ------- ------- ------- ------- ------- ------- ------- ------- ter-ylCDXc/ apache2/ .venv/local/ lib/python2. 7/site- packages/ mock/mock. py", line 1305, in patched ter-ylCDXc/ apache2/ hooks/tests/ test_config_ changed. py", line 76, in test_config_ changed_ ensure_ empty_site_ dir config_ changed( ) ter-ylCDXc/ apache2/ hooks/hooks. py", line 602, in config_changed data['apt- source' ]
ERROR: tests.test_
-------
_StringException: Traceback (most recent call last):
File "/tmp/bundletes
return func(*args, **keywargs)
File "/tmp/bundletes
hooks.
File "/tmp/bundletes
apt_source = config_
KeyError: 'apt-source'