def test_trailing_slash(mock_init_ok):
    """Testing initialization with provided api_url via environment variable and argument

    It checks the trailing slash is removed in all cases
    """
    init(api_url="http://mock.com/")
    assert active_client()._client.base_url == "http://mock.com"
Testing initialization with provided api_url via environment variable and argument

    It checks the trailing slash is removed in all cases
    
argilla-v1/tests/integration/client/test_api.py