Commit a6850c96 authored by Tomáš Zemanovič's avatar Tomáš Zemanovič Committed by Raphaël Cauderlier

Tests/Python: Update to new 'call' syntax

parent 23136d14
from typing import List
import shutil
import datetime
import json
import os
import shutil
import subprocess
import tempfile
import json
import sys
import tempfile
from typing import List
from . import client_output
......@@ -305,10 +306,10 @@ class Client:
return client_output.TransferResult(res)
def call(self,
account1: str,
account2: str,
source: str,
destination: str,
args: List[str] = None) -> client_output.TransferResult:
cmd = ['call', 'from', account1, 'to', account2]
cmd = ['call', destination, 'from', source]
if args is None:
args = []
cmd += args
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment