Using the most recent version of LocalStack and the most recent version of the AWS CLI...

```
awslocal sqs create-queue --queue-name foo                                                                                                                                                                         
{                                                                                                                                                                                                                  
    "QueueUrl": "http://localhost:4566/000000000000/foo"
} 

awslocal sqs send-message --message-body hello --queue-url http://localhost/000000000000/foo                                                                                                                       
{                                                                                                                                                                                                                  
  "MD5OfMessageBody": "5d41402abc4b2a76b9719d911017c592", 
  "MessageId": "53be5840-770a-49e6-8e23-cfca3469c7ff" 
}
                                                                                                                                                                                                                                                                                                              
awslocal sqs receive-message --queue-url http://localhost/000000000000/foo
{
   "Messages": [                                                                                                                                                                                                  
        {                                                                                                                                                                                                          
            "MessageId": "53be5840-770a-49e6-8e23-cfca3469c7ff",                                                                                                                                                   
            "ReceiptHandle": "ZmE3NTAxZjItZTEzMS00ZDNjLWE0ODgtODUzNTU0ZjE4YzBjIGFybjphd3M6c3FzOnVzLWVhc3QtMTowMDAwMDAwMDAwMDA6Zm9vIDUzYmU1ODQwLTc3MGEtNDllNi04ZTIzLWNmY2EzNDY5YzdmZiAxNjk4OTUwNjM2LjQxODc3ODc=",   
            "MD5OfBody": "5d41402abc4b2a76b9719d911017c592",                                                                                                                                                       
            "Body": "hello"                                                                                                                                                                                        
        }                                                                                                                                                                                                          
    ]                                                                                                                                                                                                              
}                                                                                                                                                                                                                  

awslocal sqs change-message-visibility --visibility-timeout 10 --queue-url http://localhost:4566/000000000000/foo --receipt-handle ZmE3NTAxZjItZTEzMS00ZDNjLWE0ODgtODUzNTU0ZjE4YzBjIGFybjphd3M6c3FzOnVzLWVhc3QtMTo\wMDAwMDAwMDAwMDA6Zm9vIDUzYmU1ODQwLTc3MGEtNDllNi04ZTIzLWNmY2EzNDY5YzdmZiAxNjk4OTUwNjM2LjQxODc3ODc=                                                                                                                  
                                                                                                                                                                                                                   
An error occurred (AWS.SimpleQueueService.MessageNotInflight) when calling the ChangeMessageVisibility operation: Unknown 
```
"""
    Returns the integer value of the ApproximateNumberOfMessages queue attribute.
    :param sqs_client: the boto3 client
    :param queue_url: the queue URL
    :return: the ApproximateNumberOfMessages converted to int
    """
    response = sqs_client.get_queue_attributes(
        Url=queue_url, AttributeNames=["ApproximateNumberOfMessages"]
    )
    return int(response["Attributes"]["ApproximateNumberOfMessages"])
@pytest.fixture(autouse=True)
def sqs_snapshot_transformer(snapshot):
    snapshot.add_transformer(snapshot.transform.sqs_api())
class TestSqsProvider:
    @markers.aws.only_localstack
    def test_get_queue_url_contains_localstack_host(
        self, sqs_create_queue, monkeypatch, aws_client, aws_client_factory
    ):
        monkeypatch.setattr(config, "SQS_ENDPOINT_STRATEGY", "off")
        queue_name = "test-queue-" + short_uid()
        sqs_create_queue(Name=queue_name)
        queue_url = aws_client.sqs.get_queue_url(Name=queue_name)["Url"]
        host_definition = localstack_host()
        
        assert (
            queue_url
            == f"http://{host_definition.host_and_port()}/{TEST_AWS_ACCOUNT_ID}/{queue_name}"
        )
    @markers.aws.validated
    def test_list_queues(self, sqs_create_queue, aws_client):