def test_global_env(self):

        filename = path.join(path.dirname(__file__), '../a/b/settings.py')
        os.environ['ALCHEMIST_SETTINGS_MODULE'] = filename

        self.app = Flask('alchemist.tests.a')
        with settings(self.app):
            alchemist.configure(self.app)

            assert self.app.config.get('B_SETTING', 1)
            assert self.app.config.get('A_SETTING', 5)

        del os.environ['ALCHEMIST_SETTINGS_MODULE']
Check that unknown sites throw a 404
dataset/ETHPy150Open concordusapps/alchemist/alchemist/tests/test_app.py/TestSettings.test_global_env--crossover with--dataset/ETHPy150Open torchbox/wagtail/wagtail/contrib/settings/tests/test_admin.py/TestMultiSite.test_unknown_site