Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  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
        """
        output = StringIO()
        main(["txaws-discover", "--help"], output, True)
        self.assertEqual(USAGE_MESSAGE, output.getvalue())
 
        """
        output = StringIO()
        main(["txaws-discover"], output, True)
        self.assertEqual(
            "ERROR: The '--key' command-line argument is required.\n",