def test_unset_default_domain_id(mocker, parameters, writes):
    with verify_update_file(mocker, parameters, writes) as mock_update_file:
        keystone.unset_default_domain_id("fakefilename")
    mock_update_file.assert_called_once_with("fakefilename")
Beispiel #2
0
 def restore(self):
     keystone.unset_default_domain_id(magic_consts.KEYSTONE_CONF)
     with keystone.admin_token_auth(magic_consts.KEYSTONE_PASTE,
                                    magic_consts.KEYSTONE_PIPELINES):
         super(KeystoneArchivator, self).restore()