Did I find the right examples for you? yes no

All Samples(8)  |  Call(7)  |  Derive(0)  |  Import(1)

src/t/x/txAWS-0.2.3/txaws/client/discover/tests/test_entry_point.py   txAWS(Download)
import sys
 
from txaws.client.discover.entry_point import (
    OptionError, UsageError, get_command, main, parse_options, USAGE_MESSAGE)
from txaws.testing.base import TXAWSTestCase
        command-line.
        """
        options = parse_options([
            "txaws-discover", "--key", "key", "--secret", "secret",
            "--endpoint", "endpoint", "--action", "action",
        """
        os.environ["AWS_ACCESS_KEY_ID"] = "key"
        options = parse_options([
            "txaws-discover", "--secret", "secret", "--endpoint", "endpoint",
            "--action", "action"])
        """
        os.environ["AWS_ACCESS_KEY_ID"] = "fail"
        options = parse_options([
            "txaws-discover", "--key", "key", "--secret", "secret",
            "--endpoint", "endpoint", "--action", "action"])
        """
        os.environ["AWS_SECRET_ACCESS_KEY"] = "secret"
        options = parse_options([
            "txaws-discover", "--key", "key", "--endpoint", "endpoint",
            "--action", "action"])