Skip to main content

Client for Test Automation (No submodules)

Project description

automation-test-no-submodules-python-sdk

PyPI

SDKs (no submodules) to test automation workflows.

Requirements

Python >=3.7

Installing

pip install automation-test-no-submodules-python-sdk==1.0.0

Getting Started

from pprint import pprint
from automation_test_no_submodules import AutomationTestNoSubmodules, ApiException

automationtestnosubmodules = AutomationTestNoSubmodules()

try:
    # Get a simple greeting
    hello_response = automationtestnosubmodules.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_no_submodules import AutomationTestNoSubmodules, ApiException

automationtestnosubmodules = AutomationTestNoSubmodules()


async def main():
    try:
        # Get a simple greeting
        hello_response = await automationtestnosubmodules.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

Supported by

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