Skip to content

Instantly share code, notes, and snippets.

@stajkowski
Created March 11, 2016 04:09
Show Gist options
  • Save stajkowski/4bb7ccabe14d9407933e to your computer and use it in GitHub Desktop.
Save stajkowski/4bb7ccabe14d9407933e to your computer and use it in GitHub Desktop.
results2
======================================================================
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 112, in instance_stub_out
return fn(self, *args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 628, in test_delete_network
network.id).\
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show
ip_availability = neutronclient(request).show_network_ip_availability(
File "/Users/bria9288/Documents/openstack/horizon/horizon/utils/memoized.py", line 99, in wrapped
value = func(*args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 540, in neutronclient
c = neutron_client.Client(token=request.user.token.id,
AttributeError: IsA instance has no attribute 'user'
======================================================================
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'>) , '82288d84-e0a5-42ac-95be-e6af08727e42') -> [<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_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 661, in test_delete_network_exception
network.id).\
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show
ip_availability = neutronclient(request).show_network_ip_availability(
File "/Users/bria9288/Documents/openstack/horizon/horizon/utils/memoized.py", line 99, in wrapped
value = func(*args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 540, in neutronclient
c = neutron_client.Client(token=request.user.token.id,
AttributeError: IsA instance has no attribute 'user'
======================================================================
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'>) , '82288d84-e0a5-42ac-95be-e6af08727e42') -> [<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_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 46, in test_index
network.id).\
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show
ip_availability = neutronclient(request).show_network_ip_availability(
File "/Users/bria9288/Documents/openstack/horizon/horizon/utils/memoized.py", line 99, in wrapped
value = func(*args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 540, in neutronclient
c = neutron_client.Client(token=request.user.token.id,
AttributeError: IsA instance has no attribute 'user'
======================================================================
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'>) ) -> [[<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_network_detail (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 95, in test_network_detail
self._test_network_detail()
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 111, in _test_network_detail
network_id).\
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show
ip_availability = neutronclient(request).show_network_ip_availability(
File "/Users/bria9288/Documents/openstack/horizon/horizon/utils/memoized.py", line 99, in wrapped
value = func(*args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 540, in neutronclient
c = neutron_client.Client(token=request.user.token.id,
AttributeError: IsA instance has no attribute 'user'
======================================================================
ERROR: test_network_detail (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'>) , '82288d84-e0a5-42ac-95be-e6af08727e42') -> [<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_network_detail_with_mac_learning (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 103, in test_network_detail_with_mac_learning
self._test_network_detail(mac_learning=True)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/dashboards/admin/networks/tests.py", line 111, in _test_network_detail
network_id).\
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 1034, in network_ip_availability_show
ip_availability = neutronclient(request).show_network_ip_availability(
File "/Users/bria9288/Documents/openstack/horizon/horizon/utils/memoized.py", line 99, in wrapped
value = func(*args, **kwargs)
File "/Users/bria9288/Documents/openstack/horizon/openstack_dashboard/api/neutron.py", line 540, in neutronclient
c = neutron_client.Client(token=request.user.token.id,
AttributeError: IsA instance has no attribute 'user'
======================================================================
ERROR: test_network_detail_with_mac_learning (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'>) , '82288d84-e0a5-42ac-95be-e6af08727e42') -> [<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 0x12f4b6fc8>
======================================================================
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 0x12f6319e0>
----------------------------------------------------------------------
Ran 1496 tests in 156.116s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment