def test_write_config(self):
        self.credentials_manager.username = self.aws_access_key
        self.credentials_manager.password = self.aws_secret_key
        self.credentials_manager.save_credentials()

        self.config.load()

        self.assertEqual(self.aws_access_key, self.config.get("aws-access-key"))
        self.assertEqual(self.aws_secret_key, self.keyring.get_password("aws", "123"))
Test that credentials are persisted to a config file
dataset/ETHPy150Open koenbok/Cactus/cactus/tests/test_credentials.py/CredentialsManagerTestCase.test_write_config