  def testListImages(self):
    """End to end test on AWS.

    Test listing AMI images with a filter.
    """

    aws_account = account.AWSAccount(self.zone)
    qfilter = [{'Name': 'name', 'Values': ['Ubuntu 22.04*']}]
    images = aws_account.ec2.ListImages(qfilter)

    self.assertGreater(len(images), 0)
    self.assertIn('Name', images[0])
End to end test on AWS.

Test listing AMI images with a filter.
tests/providers/aws/e2e.py