Merge "Port identity provider dashboard to Python 3"
This commit is contained in:
commit
55465adb32
@ -1685,9 +1685,7 @@ class DataTable(object):
|
||||
By default, this returns a ``name`` attribute from the given object,
|
||||
but this can be overridden to return other values.
|
||||
"""
|
||||
if hasattr(datum, 'name'):
|
||||
return datum.name
|
||||
return None
|
||||
return getattr(datum, 'name', None)
|
||||
|
||||
def has_prev_data(self):
|
||||
"""Returns a boolean value indicating whether there is previous data
|
||||
|
@ -422,6 +422,6 @@ def data(TEST):
|
||||
]
|
||||
}
|
||||
idp_mapping = mappings.Mapping(
|
||||
mappings.MappingManager,
|
||||
mappings.MappingManager(None),
|
||||
idp_mapping_dict)
|
||||
TEST.idp_mappings.add(idp_mapping)
|
||||
|
1
tox.ini
1
tox.ini
@ -29,6 +29,7 @@ commands =
|
||||
openstack_dashboard.dashboards.admin.metering \
|
||||
openstack_dashboard.dashboards.admin.routers \
|
||||
openstack_dashboard.dashboards.admin.volumes.volumes.tests \
|
||||
openstack_dashboard.dashboards.identity.identity_providers \
|
||||
openstack_dashboard.dashboards.identity.users \
|
||||
openstack_dashboard.dashboards.project.access_and_security.api_access.tests \
|
||||
openstack_dashboard.dashboards.project.containers \
|
||||
|
Loading…
Reference in New Issue
Block a user