From c545053b859d8d508b3b0589402e8da5ad84d7f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 20 Dec 2017 13:34:17 +0100 Subject: [PATCH] Declare return type --- pillar/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/tests/__init__.py b/pillar/tests/__init__.py index 7336c0ba..453cb21d 100644 --- a/pillar/tests/__init__.py +++ b/pillar/tests/__init__.py @@ -251,7 +251,7 @@ class AbstractPillarTest(TestMinimal): return result.inserted_id def create_user(self, user_id='cafef00dc379cf10c4aaceaf', roles=('subscriber',), - groups=None, *, token: str = None, email: str = TEST_EMAIL_ADDRESS): + groups=None, *, token: str = None, email: str = TEST_EMAIL_ADDRESS) -> ObjectId: from pillar.api.utils.authentication import make_unique_username import uuid