def test_groups_returns_all_groups(self):
        io = self.get_client()
        groups = io.groups()
        self.assertGreaterEqual(len(groups), 1)
        names = set(map(lambda x: x.name, groups))
        self.assertTrue('GroupTest' in names)
dataset/ETHPy150Open adafruit/io-client-python/tests/test_client.py/TestClient.test_groups_returns_all_groups/original