From bb2685476ad25f0a1687e02d3be26640c36db96d Mon Sep 17 00:00:00 2001 From: Marnanel Thurman Date: Wed, 29 May 2019 10:46:15 +0100 Subject: [PATCH] create_remote_person can pass arbitrary extra fields to mock_remote_object --- tests/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/__init__.py b/tests/__init__.py index 84c0b54..c1957f3 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -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, )), )