# Path: baton/config.py
# def get_config(key):


from baton.config import default_config, get_config
from django.test import TestCase


class TestBatonConfig(TestCase):
    def test_default_config(self):
        self.assertEqual(default_config['SITE_TITLE'], 'Baton')
        self.assertEqual(default_config['INDEX_TITLE'], 'Site administration')
        self.assertEqual(default_config['CONFIRM_UNSAVED_CHANGES'], True)
        self.assertEqual(default_config['SHOW_MULTIPART_UPLOADING'], True)
        self.assertEqual(default_config['ENABLE_IMAGES_PREVIEW'], True)

# Path: baton/config.py
# def get_config(key):


# Path: testapp/app/app/tests/test_config.py
from baton.config import default_config, get_config
from django.test import TestCase



class TestBatonConfig(TestCase):
    def test_default_config(self):
        self.assertEqual(default_config['SITE_TITLE'], 'Baton')
        self.assertEqual(default_config['INDEX_TITLE'], 'Site administration')
        self.assertEqual(default_config['CONFIRM_UNSAVED_CHANGES'], True)
        self.assertEqual(default_config['SHOW_MULTIPART_UPLOADING'], True)
        self.assertEqual(default_config['ENABLE_IMAGES_PREVIEW'], True)

        self.assertEqual(default_config['CHANGELIST_FILTERS_IN_MODAL'], False)