def test_group_by_hosts_with_env(self):
        data = chef.group_nodes_by_host(chef.get_nodes_extended(),
                                        env='staging')
        self.assertEqual(len(data), 1)
        for host in data:
            self.assertEqual(host['virtualization']['role'], 'host')
        expected_vms = ['testnode4']
        self.assertEqual(len(data[0]['virtualization']['guests']), 3)
Testing Lazy-Geometry support (using the GeometryProxy).
dataset/ETHPy150Open edelight/kitchen/kitchen/backends/tests.py/TestData.test_group_by_hosts_with_env--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py/GeoModelTest.test_proxy