def _makeFUT(self, *args, **kwargs):
     from autopush.diagnostic_cli import EndpointDiagnosticCLI
     return EndpointDiagnosticCLI(
         *args,
         resource=autopush.tests.boto_resource,
         use_files=False,
         **kwargs)
    def test_parser_tuple(self):
        from autopush.diagnostic_cli import EndpointDiagnosticCLI

        edc = EndpointDiagnosticCLI(("http://someendpoint", ),
                                    use_files=False,
                                    resource=autopush.tests.boto_resource)
        assert edc is not None
        assert edc._endpoint == "http://someendpoint"
 def _makeFUT(self, *args, **kwargs):
     from autopush.diagnostic_cli import EndpointDiagnosticCLI
     return EndpointDiagnosticCLI(*args, use_files=False, **kwargs)
Exemple #4
0
    def test_parser_tuple(self):
        from autopush.diagnostic_cli import EndpointDiagnosticCLI

        edc = EndpointDiagnosticCLI(("http://someendpoint", ))
        assert edc is not None
        assert edc._endpoint == "http://someendpoint"