def test_list_registered_txn_types_succeeds(self, storage_get_as_json_mock, get_list_mock): transaction_types.list_registered_transaction_types_v1() get_list_mock.assert_called() self.assertEqual(storage_get_as_json_mock.call_count, 1)
def list_transaction_types_v1(**kwargs) -> Tuple[str, int, Dict[str, str]]: return helpers.flask_http_response( 200, transaction_types.list_registered_transaction_types_v1())