def test_validate_secrets_success(self): secrets = { "username": user, "password": password, "management_address": array } utils.validate_secrets(secrets)
def _test_validate_secrets_with_config_valid_system_id(self, system_id): secrets = get_fake_secret_config(system_id=system_id) utils.validate_secrets(secrets)
def test_validate_secrets_with_config(self): secrets = get_fake_secret_config() utils.validate_secrets(secrets)
def _test_validate_secrets_validation_errors(self, secrets): with self.assertRaises(ValidationException): utils.validate_secrets(secrets)