create_remote_person can pass arbitrary extra fields to mock_remote_object

2019-08-17
Marnanel Thurman 2019-05-29 10:46:15 +01:00
rodzic bbef535b56
commit bb2685476a
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -101,7 +101,8 @@ def mock_remote_object(
def create_remote_person(
url,
name,
publicKey):
publicKey,
**fields):
mock_remote_object(
url=url,
@ -109,6 +110,7 @@ def create_remote_person(
url=url,
name=name,
publicKey = publicKey,
**fields,
)),
)