Exemplo n.º 1
0
def get_default_network_v1(**kwargs) -> Tuple[str, int, Dict[str, str]]:
    return helpers.flask_http_response(200,
                                       interchain.get_default_interchain_v1())
 def test_get_default_interchain(self, mock_get_output,
                                 mock_get_interchain):
     self.assertEqual(interchain.get_default_interchain_v1(), "blah")
     mock_get_output.assert_called_once_with("banana")
     mock_get_interchain.assert_called_once()