mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-21 13:38:31 +02:00
black fixes
This commit is contained in:
parent
abe9777593
commit
f60f707678
1 changed files with 3 additions and 3 deletions
|
@ -209,12 +209,12 @@ def check_output_time_inline(context, text):
|
||||||
assert output_date in out, output_date
|
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):
|
def check_output_version_inline(context):
|
||||||
out = context.stdout_capture.getvalue()
|
out = context.stdout_capture.getvalue()
|
||||||
pyproject = (Path(__file__) / '..' / '..' / '..' / 'pyproject.toml').resolve()
|
pyproject = (Path(__file__) / ".." / ".." / ".." / "pyproject.toml").resolve()
|
||||||
pyproject_contents = toml.load(pyproject)
|
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
|
assert pyproject_version in out, pyproject_version
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue