Did I find the right examples for you? yes no

All Samples(4)  |  Call(3)  |  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 arguments.
        """
        command = get_command([
            "txaws-discover", "--key", "key", "--secret", "secret",
            "--endpoint", "endpoint", "--action", "action"])
    def test_get_command_with_custom_output_stream(self):
        output = StringIO()
        command = get_command([
            "txaws-discover", "--key", "key", "--secret", "secret",
            "--endpoint", "endpoint", "--action", "action"], output)
        and C{--action} are passed to the L{Command} in a parameter C{dict}.
        """
        command = get_command([
            "txaws-discover", "--key", "key", "--secret", "secret",
            "--endpoint", "endpoint", "--action", "DescribeRegions",