more direct in what is happening in test utils

This commit is contained in:
protolambda
2019-05-23 22:28:11 +02:00
parent f0c9e7a395
commit 1bbab9aa00

View File

@@ -60,7 +60,7 @@ def with_tags(tags: Dict[str, Any]):
fn_out = fn(*args, **kw)
# do not add tags if the function is not returning a dict at all (i.e. not in generator mode)
if fn_out is None:
return fn_out
return None
return {**tags, **fn_out}
return entry
return runner