Skip to main content

Client for Test Automation (No submodules)

Project description

automation-test-with-submodule-python-sdk

PyPI GitHub last commit

SDKs (no submodules) to test automation workflows.

Requirements

Python >=3.7

Installing

pip install automation-test-with-submodule-python-sdk==1.0.0

Getting Started

from pprint import pprint
from automation_test_with_submodule import AutomationTestWithSubmodule, ApiException

automationtestwithsubmodule = AutomationTestWithSubmodule()

try:
    # Get a simple greeting!!
    hello_response = automationtestwithsubmodule.greetings.hello()
    pprint(hello_response.body)
    pprint(hello_response.body["message"])
    pprint(hello_response.headers)
    pprint(hello_response.status)
    pprint(hello_response.round_trip_time)
except ApiException as e:
    print("Exception when calling GreetingsApi.hello: %s\n" % e)
    pprint(e.body)
    pprint(e.headers)
    pprint(e.status)
    pprint(e.reason)
    pprint(e.round_trip_time)

Async

async support is available by prepending a to any method.

import asyncio
from pprint import pprint
from automation_test_with_submodule import AutomationTestWithSubmodule, ApiException

automationtestwithsubmodule = AutomationTestWithSubmodule()


async def main():
    try:
        # Get a simple greeting!!
        hello_response = await automationtestwithsubmodule.greetings.ahello()
        pprint(hello_response.body)
        pprint(hello_response.body["message"])
        pprint(hello_response.headers)
        pprint(hello_response.status)
        pprint(hello_response.round_trip_time)
    except ApiException as e:
        print("Exception when calling GreetingsApi.hello: %s\n" % e)
        pprint(e.body)
        pprint(e.headers)
        pprint(e.status)
        pprint(e.reason)
        pprint(e.round_trip_time)


asyncio.run(main())

Documentation for API Endpoints

All URIs are relative to http://google.com

Tag Method HTTP request Description
Greetings hello GET /hello Get a simple greeting!!

Author

This Python package is automatically generated by Konfig

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file automation_test_with_submodule_python_sdk-1.0.0.tar.gz.

File metadata

File hashes

Hashes for automation_test_with_submodule_python_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e6141bc6919252afdb7931b346f57c433ad6cb1d4201ad234998d8fe3558a2e0
MD5 a54416780c2a3bc7e5afa6bd14ea71f4
BLAKE2b-256 57af6dbc71b25d4b1973f654ce902b3126b8fa6808a557d86fd89e99257aae73

See more details on using hashes here.

File details

Details for the file automation_test_with_submodule_python_sdk-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for automation_test_with_submodule_python_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a652b1d54770a63f83415f94d36351a92aba4a67966030c89826cf9d6d37f53c
MD5 c4b591afd83bd434c9b522d2a10d4de5
BLAKE2b-256 aa2a0b1c1e85abc91db8cd792d32c267b79e498b49e74c24a8303a02b229a23b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page