From b520db09683cd48736ba305d2461309fc49dfb22 Mon Sep 17 00:00:00 2001 From: Vert Date: Sun, 1 Dec 2024 10:51:37 -0500 Subject: [PATCH 1/2] version bump --- upchatpy/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upchatpy/version.py b/upchatpy/version.py index c72e379..9b102be 100644 --- a/upchatpy/version.py +++ b/upchatpy/version.py @@ -1 +1 @@ -__version__ = "1.1.4" +__version__ = "1.1.5" From ccc1a3d52066ff392664f91540f88158996eeeca Mon Sep 17 00:00:00 2001 From: Vert Date: Sun, 1 Dec 2024 10:55:10 -0500 Subject: [PATCH 2/2] add test --- tests/test_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_api.py b/tests/test_api.py index 64a0d76..a0c4093 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -22,6 +22,10 @@ client_secret = os.getenv("UPGRADE_CHAT_CLIENT_SECRET") client = Client(client_id=client_id, client_secret=client_secret) +@pytest.mark.asyncio +async def test_environment(): + assert client_id is not None, "UPGRADE_CHAT_CLIENT_ID is not set in environment" + assert client_secret is not None, "UPGRADE_CHAT_CLIENT_SECRET is not set in environment" @pytest.mark.asyncio async def test_version():