### Going to fill this out in a subsequent PR

import os
import tempfile

from unittest import TestCase

from dusty import constants, config

class TestConfig(TestCase):
    def setUp(self):
        self.temp_config_path = tempfile.mkstemp()[1]
        self.old_config_path = constants.CONFIG_PATH
        constants.CONFIG_PATH = self.temp_config_path
        self.test_config = {'bundles': ['bundle-a'], 'repo_overrides': {'repo-a': '/var/run/repo-a'}, 'docker_user': 'root'}

    def tearDown(self):
        constants.CONFIG_PATH = self.old_config_path
        os.remove(self.temp_config_path)

    def test_save_and_get_config(self):
        config.save_config(self.test_config)
        self.assertItemsEqual(self.test_config, config.get_config())

    def test_get_config_value(self):
        config.save_config(self.test_config)
        self.assertItemsEqual(config.get_config_value('bundles'), ['bundle-a'])
        self.assertItemsEqual(config.get_config_value('repo_overrides'), {'repo-a': '/var/run/repo-a'})
        self.assertEqual(config.get_config_value('docker_user'), 'root')

    def test_save_config_value(self):
        config.save_config(self.test_config)
        self.assertItemsEqual(config.get_config_value('bundles'), ['bundle-a'])
        config.save_config_value('bundles', ['bundle-b'])
        self.assertItemsEqual(config.get_config_value('bundles'), ['bundle-b'])
        config.save_config_value('new_key', 'bacon')
        self.assertEqual(config.get_config_value('new_key'), 'bacon')

    def test_assert_config_key(self):
        config.save_config(self.test_config)
        config.assert_config_key('docker_user')
        with self.assertRaises(KeyError):
            config.assert_config_key('nonexistent_key')

Add some tests for the config module
Add some tests for the config module
