Created
March 11, 2016 00:09
-
-
Save stajkowski/a59962ad763a7935f944 to your computer and use it in GitHub Desktop.
results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nosetests horizon --nocapture --nologcapture --exclude-dir=horizon/conf/ --exclude-dir=horizon/test/customization --cover-package=horizon --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1 | |
Creating test database for alias 'default'... | |
...................................................................................................................................................................SSSSSSS............ | |
---------------------------------------------------------------------- | |
Ran 182 tests in 33.181s | |
OK (SKIP=7) | |
<MagicMock name='handle()' id='4454562000'><MagicMock name='handle()' id='4454740368'>Destroying test database for alias 'default'... | |
Running openstack_dashboard tests | |
nosetests openstack_dashboard --nocapture --nologcapture --cover-package=openstack_dashboard --cover-inclusive --all-modules --exclude-dir=openstack_dashboard/test/integration_tests --verbosity=1 | |
WARNING:root:No local_settings file found. | |
Creating test database for alias 'default'... | |
.............................................................................................................................................FEFEEE..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EE..E....E..E....................................................................................................................................................................................................................................EEEEEE..........................................................................................................................................................................................................................................................................................................................................SSSSSSSSSS.S | |
====================================================================== | |
ERROR: test_delete_network (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) ) -> [[<Tenant {'description': 'a test tenant.', 'enabled': True, 'domain_name': 'test_domain', 'id': '1', 'domain_id': '1', 'name': 'test_tenant'}>, <Tenant {'description': 'a disabled test tenant.', 'enabled': False, 'domain_name': 'disabled_domain', 'id': '2', 'domain_id': '2', 'name': 'disabled_tenant'}>, <Tenant {'description': 'an unicode-named tenant.', 'enabled': True, 'domain_name': 'disabled_domain', 'id': '3', 'domain_id': '2', 'name': u'\u4e91\u89c4\u5219'}>], False] | |
====================================================================== | |
ERROR: test_delete_network_exception (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) ) -> [[<Tenant {'description': 'a test tenant.', 'enabled': True, 'domain_name': 'test_domain', 'id': '1', 'domain_id': '1', 'name': 'test_tenant'}>, <Tenant {'description': 'a disabled test tenant.', 'enabled': False, 'domain_name': 'disabled_domain', 'id': '2', 'domain_id': '2', 'name': 'disabled_tenant'}>, <Tenant {'description': 'an unicode-named tenant.', 'enabled': True, 'domain_name': 'disabled_domain', 'id': '3', 'domain_id': '2', 'name': u'\u4e91\u89c4\u5219'}>], False] | |
====================================================================== | |
ERROR: test_index (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 60, in test_index | |
res = self.client.get(INDEX_URL) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 500, in get | |
**extra) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 303, in get | |
return self.generic('GET', path, secure=secure, **r) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 379, in generic | |
return self.request(**r) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 466, in request | |
six.reraise(*exc_info) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch | |
return handler(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 159, in get | |
handled = self.construct_tables() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 150, in construct_tables | |
handled = self.handle_table(table) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 121, in handle_table | |
data = self._get_data_dict() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 187, in _get_data_dict | |
self._data = {self.table_class._meta.name: self.get_data()} | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/views.py", line 128, in get_data | |
exceptions.handle(self.request, msg) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/exceptions.py", line 309, in handle | |
handled = issubclass(exc_type, HandledException) | |
TypeError: issubclass() arg 1 must be a class | |
====================================================================== | |
ERROR: test_index (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , '9b466b94-213a-4cda-badf-72c102a874da') -> [<Agent: {'description': None, 'alive': True, 'topic': 'N/A', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:28', 'id': 'c876ff05-f440-443e-808c-1d34cda3e88a', 'binary': 'neutron-openvswitch-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:28', 'agent_type': 'Open vSwitch agent', 'heartbeat_timestamp': '2013-07-26 06:51:47', 'configurations': {'devices': 2}}>, <Agent: {'description': None, 'alive': True, 'topic': 'dhcp_agent', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:30', 'id': 'f0d12e3d-1973-41a2-b977-b95693f9a8aa', 'binary': 'neutron-dhcp-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:30', 'agent_type': 'DHCP agent', 'heartbeat_timestamp': '2013-07-26 06:51:48', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 120, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 1}}>] | |
1. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , '96688ea1-ffa5-78ec-22ca-33aaabfaf775') -> [<Agent: {'description': None, 'alive': True, 'topic': 'N/A', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:28', 'id': 'c876ff05-f440-443e-808c-1d34cda3e88a', 'binary': 'neutron-openvswitch-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:28', 'agent_type': 'Open vSwitch agent', 'heartbeat_timestamp': '2013-07-26 06:51:47', 'configurations': {'devices': 2}}>, <Agent: {'description': None, 'alive': True, 'topic': 'dhcp_agent', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:30', 'id': 'f0d12e3d-1973-41a2-b977-b95693f9a8aa', 'binary': 'neutron-dhcp-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:30', 'agent_type': 'DHCP agent', 'heartbeat_timestamp': '2013-07-26 06:51:48', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 120, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 1}}>] | |
2. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , 'c62e4bb3-296a-4cd1-8f6b-aaa7a0092326') -> [<Agent: {'description': None, 'alive': True, 'topic': 'N/A', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:28', 'id': 'c876ff05-f440-443e-808c-1d34cda3e88a', 'binary': 'neutron-openvswitch-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:28', 'agent_type': 'Open vSwitch agent', 'heartbeat_timestamp': '2013-07-26 06:51:47', 'configurations': {'devices': 2}}>, <Agent: {'description': None, 'alive': True, 'topic': 'dhcp_agent', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:30', 'id': 'f0d12e3d-1973-41a2-b977-b95693f9a8aa', 'binary': 'neutron-dhcp-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:30', 'agent_type': 'DHCP agent', 'heartbeat_timestamp': '2013-07-26 06:51:48', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 120, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 1}}>] | |
3. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , '7aa23d91-ffff-abab-dcdc-3411ae767e8a') -> [<Agent: {'description': None, 'alive': True, 'topic': 'N/A', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:28', 'id': 'c876ff05-f440-443e-808c-1d34cda3e88a', 'binary': 'neutron-openvswitch-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:28', 'agent_type': 'Open vSwitch agent', 'heartbeat_timestamp': '2013-07-26 06:51:47', 'configurations': {'devices': 2}}>, <Agent: {'description': None, 'alive': True, 'topic': 'dhcp_agent', 'host': 'devstack001', 'admin_state': 'UP', 'started_at': '2013-07-26 05:23:30', 'id': 'f0d12e3d-1973-41a2-b977-b95693f9a8aa', 'binary': 'neutron-dhcp-agent', 'admin_state_up': True, 'created_at': '2013-07-26 05:23:30', 'agent_type': 'DHCP agent', 'heartbeat_timestamp': '2013-07-26 06:51:48', 'configurations': {'subnets': 1, 'use_namespaces': True, 'dhcp_lease_duration': 120, 'dhcp_driver': 'neutron.agent.linux.dhcp.Dnsmasq', 'networks': 1, 'ports': 1}}>] | |
====================================================================== | |
ERROR: test_edit_stack_template (openstack_dashboard.dashboards.project.stacks.tests.StackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/project/stacks/tests.py", line 618, in test_edit_stack_template | |
template=hc_format.parse(template.data)) \ | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 51, in parse | |
tpl = json.loads(tmpl_str) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads | |
return _default_decoder.decode(s) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode | |
obj, end = self.scan_once(s, idx) | |
ValueError: Invalid control character at: line 182 column 16 (char 3134) | |
====================================================================== | |
ERROR: test_edit_stack_template (openstack_dashboard.dashboards.project.stacks.tests.StackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , '05b4f39f-ea96-4d91-910c-e758c078a0890') -> <Stack {'description': 'No description', 'links': [{'href': 'http://192.168.1.70:8004/v1/051c727ee67040d6a7b7812708485a97/stacks/stack-test0/05b4f39f-ea96-4d91-910c-e758c078a0890', 'rel': 'self'}], 'stack_status_reason': 'Stack successfully created', 'stack_name': 'stack-test0', 'stack_status': 'CREATE_COMPLETE', 'parameters': {'DBUsername': '******', 'AWS::StackId': 'arn:openstack:heat::2ce287:stacks/teststack/88553ec', 'DBName': u'wordpress', 'DBPassword': '******', 'AWS::StackName': 'teststack0', 'AWS::Region': 'ap-southeast-1', 'InstanceType': 'm1.small', 'DBRootPassword': '******'}, 'creation_time': '2013-04-22T00:11:39Z', 'id': '05b4f39f-ea96-4d91-910c-e758c078a0890', 'updated_time': '2013-04-22T00:11:39Z'}> | |
====================================================================== | |
ERROR: test_launch_stack (openstack_dashboard.dashboards.project.stacks.tests.StackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/project/stacks/tests.py", line 235, in test_launch_stack | |
template=hc_format.parse(template.data)) \ | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 51, in parse | |
tpl = json.loads(tmpl_str) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads | |
return _default_decoder.decode(s) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode | |
obj, end = self.scan_once(s, idx) | |
ValueError: Invalid control character at: line 182 column 16 (char 3134) | |
====================================================================== | |
ERROR: test_launch_stack_with_environment (openstack_dashboard.dashboards.project.stacks.tests.StackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/project/stacks/tests.py", line 294, in test_launch_stack_with_environment | |
template=hc_format.parse(template.data), | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 51, in parse | |
tpl = json.loads(tmpl_str) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads | |
return _default_decoder.decode(s) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode | |
obj, end = self.scan_once(s, idx) | |
ValueError: Invalid control character at: line 182 column 16 (char 3134) | |
====================================================================== | |
ERROR: test_preview_stack (openstack_dashboard.dashboards.project.stacks.tests.StackTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/project/stacks/tests.py", line 763, in test_preview_stack | |
template=hc_format.parse(template.data)) \ | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 51, in parse | |
tpl = json.loads(tmpl_str) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads | |
return _default_decoder.decode(s) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode | |
obj, end = self.raw_decode(s, idx=_w(s, 0).end()) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 382, in raw_decode | |
obj, end = self.scan_once(s, idx) | |
ValueError: Invalid control character at: line 182 column 16 (char 3134) | |
====================================================================== | |
ERROR: test_get_template_files (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/api_tests/heat_tests.py", line 251, in test_get_template_files | |
files = api.heat.get_template_files(template_data=tmpl)[0] | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/heat.py", line 117, in get_template_files | |
template = template_format.parse(tpl) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 62, in parse | |
raise ValueError(yea) | |
ValueError: mapping values are not allowed here | |
in "<unicode string>", line 2, column 14: | |
resources: | |
^ | |
====================================================================== | |
ERROR: test_get_template_files (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 413, in tearDown | |
super(APITestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__('http://test.example/example') -> <StringIO.StringIO instance at 0x13661bf80> | |
====================================================================== | |
ERROR: test_get_template_files_invalid (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/api_tests/heat_tests.py", line 294, in test_get_template_files_invalid | |
api.heat.get_template_files(template_data=tmpl)[0] | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/heat.py", line 117, in get_template_files | |
template = template_format.parse(tpl) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 62, in parse | |
raise ValueError(yea) | |
ValueError: mapping values are not allowed here | |
in "<unicode string>", line 2, column 14: | |
resources: | |
^ | |
====================================================================== | |
ERROR: test_get_template_files_with_template_data (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/api_tests/heat_tests.py", line 228, in test_get_template_files_with_template_data | |
files = api.heat.get_template_files(template_data=tmpl)[0] | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/heat.py", line 117, in get_template_files | |
template = template_format.parse(tpl) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 62, in parse | |
raise ValueError(yea) | |
ValueError: mapping values are not allowed here | |
in "<unicode string>", line 2, column 14: | |
resources: | |
^ | |
====================================================================== | |
ERROR: test_get_template_files_with_template_url (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/api_tests/heat_tests.py", line 277, in test_get_template_files_with_template_url | |
files = api.heat.get_template_files(template_url=url)[0] | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/heat.py", line 117, in get_template_files | |
template = template_format.parse(tpl) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/heatclient/common/template_format.py", line 62, in parse | |
raise ValueError(yea) | |
ValueError: mapping values are not allowed here | |
in "<unicode string>", line 2, column 14: | |
resources: | |
^ | |
====================================================================== | |
ERROR: test_get_template_files_with_template_url (openstack_dashboard.test.api_tests.heat_tests.HeatApiTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 413, in tearDown | |
super(APITestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 208, in tearDown | |
super(TestCase, self).tearDown() | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/test/helpers.py", line 154, in tearDown | |
self.mox.VerifyAll() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 289, in VerifyAll | |
mock_obj._Verify() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 543, in _Verify | |
raise ExpectedMethodCallsError(self._expected_calls_queue) | |
ExpectedMethodCallsError: Verify: Expected methods never called: | |
0. function.__call__('http://test.example/example') -> <StringIO.StringIO instance at 0x136797998> | |
====================================================================== | |
FAIL: test_delete_network (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 642, in test_delete_network | |
res = self.client.post(INDEX_URL, form_data) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 512, in post | |
secure=secure, **extra) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 313, in post | |
secure=secure, **extra) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 379, in generic | |
return self.request(**r) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 466, in request | |
six.reraise(*exc_info) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch | |
return handler(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 221, in post | |
if self.handle_server_filter(request): | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 255, in handle_server_filter | |
filter_info = self.get_server_filter_info(request) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 226, in get_server_filter_info | |
filter_action = self.get_table()._meta._filter_action | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 209, in get_table | |
self.table = self.table_class(self.request, **self.kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tables.py", line 136, in __init__ | |
'network-ip-availability'): | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 814, in __call__ | |
return mock_method(*params, **named_params) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 1113, in __call__ | |
expected_method = self._VerifyMethodCall() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 1180, in _VerifyMethodCall | |
raise UnexpectedMethodCallError(self, expected) | |
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ | |
- function.__call__(<class 'django.http.HttpRequest'>, 'network-ip-availability') -> None | |
+ function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , 'dhcp_agent_scheduler') -> True | |
>> raise UnexpectedMethodCallError(self, expected) | |
====================================================================== | |
FAIL: test_delete_network_exception (openstack_dashboard.dashboards.admin.networks.tests.NetworkTests) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/test/helpers.py", line 112, in instance_stub_out | |
return fn(self, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 676, in test_delete_network_exception | |
res = self.client.post(INDEX_URL, form_data) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 512, in post | |
secure=secure, **extra) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 313, in post | |
secure=secure, **extra) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 379, in generic | |
return self.request(**r) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/test/client.py", line 466, in request | |
six.reraise(*exc_info) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 52, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 36, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/decorators.py", line 84, in dec | |
return view_func(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view | |
return self.dispatch(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch | |
return handler(request, *args, **kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 221, in post | |
if self.handle_server_filter(request): | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 255, in handle_server_filter | |
filter_info = self.get_server_filter_info(request) | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 226, in get_server_filter_info | |
filter_action = self.get_table()._meta._filter_action | |
File "/Users/bria9288/Documents/openstack/horizon/horizon/tables/views.py", line 209, in get_table | |
self.table = self.table_class(self.request, **self.kwargs) | |
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tables.py", line 136, in __init__ | |
'network-ip-availability'): | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 814, in __call__ | |
return mock_method(*params, **named_params) | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 1113, in __call__ | |
expected_method = self._VerifyMethodCall() | |
File "/Users/bria9288/Documents/openstack/horizon/.venv/lib/python2.7/site-packages/mox3/mox.py", line 1180, in _VerifyMethodCall | |
raise UnexpectedMethodCallError(self, expected) | |
UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ | |
- function.__call__(<class 'django.http.HttpRequest'>, 'network-ip-availability') -> None | |
+ function.__call__(mox.IsA(<class 'django.http.request.HttpRequest'>) , 'dhcp_agent_scheduler') -> True | |
>> raise UnexpectedMethodCallError(self, expected) | |
---------------------------------------------------------------------- | |
Ran 1496 tests in 159.093s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment