

def test_list_containers(self):
    AtmosMockHttp.type = 'EMPTY'
    containers = self.driver.list_containers()
    self.assertEqual(len(containers), 0)
    AtmosMockHttp.type = None
    containers = self.driver.list_containers()
    self.assertEqual(len(containers), 6)

dataset/ETHPy150Open apache/libcloud/libcloud/test/storage/test_atmos.py AtmosTests.test_list_containers/original