@patch('prestoadmin.main.load_config', side_effect=mock_load_topology())
    def test_env_vars_persisted(self, unused_mock_load):
        try:
            main.main(['topology', 'show'])
        except __HOLE__ as e:
            self.assertEqual(e.code, 0)
        self.assertDefaultHosts()
dataset/ETHPy150Open prestodb/presto-admin/tests/unit/test_main.py/TestMain.test_env_vars_persisted