def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def test_execute(self):
        opt = Optional(None, execute=dict)
        self.assertEqual(deoption(opt), {})
        self.assertEqual(deoption(opt, execute=dict), {})
        self.assertEqual(deoption(None, execute=dict), {})