Skip to content

Commit 5efbc32

Browse files
committed
simple test for version in the user-agent
1 parent f34b9a3 commit 5efbc32

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_client.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import localstack.sdk.aws
2+
from localstack.sdk import version
3+
4+
5+
def test_client_version():
6+
client = localstack.sdk.aws.AWSClient()
7+
assert version.version in client._api_client.user_agent

0 commit comments

Comments
 (0)