@patch('prestoadmin.main.load_config', side_effect=mock_load_topology())
    def test_unchanged_hosts(self, unused_mock_load):
        main.parse_and_validate_commands(
            args=['server', 'uninstall'])
        self.assertDefaultHosts()
        self.assertDefaultRoledefs()
        self.assertEqual(env.port, 1234)
        self.assertEqual(env.user, 'user')
        self.assertNotIn('conf_hosts', env)
Possible alternate name for the test: test_does_my_magic_work
dataset/ETHPy150Open prestodb/presto-admin/tests/unit/test_main.py/TestMain.test_unchanged_hosts