keystone/keystone/tests/unit/config_files
Boris Bobrov 7b6364a4f8 Use the driver to get limits
@response_truncated was used to set the limit of returned entries. It
asked the driver about the limit and set it to hints. With
domain-specific configs, there are multiple driver instances and each of
them carries domain-specific config.

However, with domain-specific configs, the driver is not yet configured
at that point, because sometimes the manager needs to perform additional
actions in order to understand what domain it works with. Because of
that, @response_truncated always got the limit from the default driver,
not from the one actually used for the domain.

Move the logic of setting the limit from the decorator to a private
method, call it after determining the domain and driver.

Change-Id: I1748d491b047e33712380da731c272f9d471ec0a
Closes-Bug: 1495669
2016-02-17 18:53:20 +03:00
..
domain_configs_default_ldap_one_sql Use short names for drivers 2015-05-10 10:12:45 -05:00
domain_configs_multi_ldap Use the driver to get limits 2016-02-17 18:53:20 +03:00
domain_configs_one_extra_sql Use short names for drivers 2015-05-10 10:12:45 -05:00
domain_configs_one_sql_one_ldap Use short names for drivers 2015-05-10 10:12:45 -05:00
backend_db2.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
backend_ldap.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
backend_ldap_pool.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
backend_ldap_sql.conf Capitalize a Few Words 2015-10-29 11:20:46 -05:00
backend_liveldap.conf Remove additional references to ldap role attribs 2016-01-22 01:41:42 +00:00
backend_multi_ldap_sql.conf Switch from MySQL-python to PyMySQL 2015-05-20 01:03:59 +00:00
backend_mysql.conf Capitalize a Few Words 2015-10-29 11:20:46 -05:00
backend_pool_liveldap.conf Remove additional references to ldap role attribs 2016-01-22 01:41:42 +00:00
backend_postgresql.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
backend_sql.conf Capitalize a Few Words 2015-10-29 11:20:46 -05:00
backend_tls_liveldap.conf Remove additional references to ldap role attribs 2016-01-22 01:41:42 +00:00
deprecated.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
deprecated_override.conf Move existing tests to unit 2015-02-13 15:54:29 -06:00
test_auth_plugin.conf Short names for auth plugins 2015-06-22 17:48:11 -05:00