# Path: google/cloud/sql/connector/utils.py
# async def generate_keys() -> Tuple[bytes, str]:
# def write_to_file(
#     dir_path: str, serverCaCert: str, ephemeralCert: str, priv_key: bytes
# ) -> Tuple[str, str, str]:


from google.cloud.sql.connector import utils
import pytest  # noqa F401 Needed to run the tests
""""
Copyright 2019 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""




@pytest.mark.asyncio
async def test_generate_keys_not_return_none() -> None:
    """
    Test to check if objects are being produced from the generate_keys()
    function.
    """


# Path: google/cloud/sql/connector/utils.py
# async def generate_keys() -> Tuple[bytes, str]:
# def write_to_file(
#     dir_path: str, serverCaCert: str, ephemeralCert: str, priv_key: bytes
# ) -> Tuple[str, str, str]:


# Path: tests/unit/test_utils.py
from google.cloud.sql.connector import utils
import pytest  # noqa F401 Needed to run the tests

""""
Copyright 2019 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""




@pytest.mark.asyncio
async def test_generate_keys_not_return_none() -> None:
    """
    Test to check if objects are being produced from the generate_keys()
    function.
    """


    res1, res2 = await utils.generate_keys()