mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-21 05:28:31 +02:00
Fix behave Python version test
This commit is contained in:
parent
3ae05ab872
commit
ac81774aed
2 changed files with 2 additions and 5 deletions
|
@ -138,4 +138,4 @@ Feature: Basic reading and writing to a journal
|
||||||
|
|
||||||
Scenario: Version warning appears for versions below 3.7
|
Scenario: Version warning appears for versions below 3.7
|
||||||
When we run "jrnl --diagnostic"
|
When we run "jrnl --diagnostic"
|
||||||
Then the Python version warning should appear if our version is below "3.7"
|
Then the Python version warning should appear if our version is below 3.7
|
||||||
|
|
|
@ -381,10 +381,7 @@ def check_python_warning_if_version_low_enough(context, version):
|
||||||
version
|
version
|
||||||
):
|
):
|
||||||
out = context.stderr_capture.getvalue()
|
out = context.stderr_capture.getvalue()
|
||||||
assert (
|
assert "WARNING: Python versions" in out
|
||||||
"THIS SHOULD FAIL ON 3.6 REMOVE WHEN CONFIRMING - WARNING: Python versions"
|
|
||||||
in out
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
assert True
|
assert True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue