def test_hosts_as_tuples():
    def command():
        pass
    eq_hosts(command, ['foo', 'bar'], env={'hosts': ('foo', 'bar')})
``AppListMenuItem`` constructor.
dataset/ETHPy150Open fabric/fabric/tests/test_main.py/test_hosts_as_tuples--crossover with--dataset/ETHPy150Open django-admin-tools/django-admin-tools/admin_tools/menu/items.py/AppList.__init__