def check(self, input: str) -> None: """ Check that the input unparses into the output, raising an assertion error if it doesn't. @param input: an input in endpoint-string-description format. (To ensure determinism, keyword arguments should be in alphabetical order.) @type input: native L{str} """ self.assertEqual(unparseEndpoint(*parseEndpoint(input)), input)
def check(self, input): """ Check that the input unparses into the output, raising an assertion error if it doesn't. @param input: an input in endpoint-string-description format. (To ensure determinism, keyword arguments should be in alphabetical order.) @type input: native L{str} """ self.assertEqual(unparseEndpoint(*parseEndpoint(input)), input)