Example #1
0
 def setUp(self):
     super(TestValidate, self).setUp()
     self.useFixture(database.Database())
     self.useFixture(
         ksfixtures.ConfigAuthPlugins(self.config_fixture,
                                      ['totp', 'token', 'password']))
     self.load_backends()
     PROVIDERS.resource_api.create_domain(
         default_fixtures.ROOT_DOMAIN['id'], default_fixtures.ROOT_DOMAIN)
Example #2
0
 def auth_plugin_config_override(self, methods=None, **method_classes):
     self.useFixture(
         ksfixtures.ConfigAuthPlugins(self.config_fixture,
                                      methods,
                                      **method_classes))
Example #3
0
 def setUp(self):
     super(TestPayloads, self).setUp()
     self.useFixture(
         ksfixtures.ConfigAuthPlugins(
             self.config_fixture, ['totp', 'token', 'password']))