From f60f707678e755db45bae9a757adc3110770ec80 Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Tue, 7 Apr 2020 09:59:20 -0600 Subject: [PATCH] black fixes --- features/steps/core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/steps/core.py b/features/steps/core.py index 70aef588..31b4eaf3 100644 --- a/features/steps/core.py +++ b/features/steps/core.py @@ -209,12 +209,12 @@ def check_output_time_inline(context, text): assert output_date in out, output_date -@then('the output should contain pyproject.toml version') +@then("the output should contain pyproject.toml version") def check_output_version_inline(context): out = context.stdout_capture.getvalue() - pyproject = (Path(__file__) / '..' / '..' / '..' / 'pyproject.toml').resolve() + pyproject = (Path(__file__) / ".." / ".." / ".." / "pyproject.toml").resolve() pyproject_contents = toml.load(pyproject) - pyproject_version = pyproject_contents['tool']['poetry']['version'] + pyproject_version = pyproject_contents["tool"]["poetry"]["version"] assert pyproject_version in out, pyproject_version