def test_ex_list_ptr_not_found(self):
        RackspaceMockHttp.type = 'RECORD_DOES_NOT_EXIST'

        try:
            records = self.driver.ex_iterate_ptr_records(RDNS_NODE)
        except Exception as exc:
            self.fail("PTR Records list 404 threw %s" % exc)

        try:
            next(records)
            self.fail("PTR Records list 404 did not produce an empty list")
        except __HOLE__:
            self.assertTrue(True, "Got empty list on 404")
dataset/ETHPy150Open apache/libcloud/libcloud/test/dns/test_rackspace.py/RackspaceUSTests.test_ex_list_ptr_not_found