From cbbd93425b975341d9eda412aaabbe58ef689b09 Mon Sep 17 00:00:00 2001 From: Michael Boulton Date: Sat, 17 Aug 2019 15:42:48 +0100 Subject: [PATCH] Reformat with black --- tavern/testutils/pytesthook/__init__.py | 7 ++++++- tavern/testutils/pytesthook/item.py | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tavern/testutils/pytesthook/__init__.py b/tavern/testutils/pytesthook/__init__.py index cb66a34d..fc3c6921 100644 --- a/tavern/testutils/pytesthook/__init__.py +++ b/tavern/testutils/pytesthook/__init__.py @@ -1,4 +1,9 @@ from .hooks import pytest_collect_file, pytest_addoption, pytest_addhooks from .util import add_parser_options -__all__ = ["pytest_addoption", "pytest_collect_file", "pytest_addhooks", "add_parser_options"] +__all__ = [ + "pytest_addoption", + "pytest_collect_file", + "pytest_addhooks", + "add_parser_options", +] diff --git a/tavern/testutils/pytesthook/item.py b/tavern/testutils/pytesthook/item.py index 3676f6d0..041625e8 100644 --- a/tavern/testutils/pytesthook/item.py +++ b/tavern/testutils/pytesthook/item.py @@ -154,8 +154,7 @@ def runtest(self): self.global_cfg["tavern_internal"][ "pytest_hook_caller" ].pytest_tavern_before_every_test_run( - test_dict=self.spec, - variables=self.global_cfg["variables"] + test_dict=self.spec, variables=self.global_cfg["variables"] ) verify_tests(self.spec)