mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Fix bug in makefile
- Makefile no longer runs on virtual env modules - Update some function names so pyflakes doesn't error Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
921ebdcdd5
commit
1c78a30535
2 changed files with 3 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -18,7 +18,7 @@ format: ## Format files to match style
|
|||
|
||||
lint: ## Check style with various tools
|
||||
poetry check
|
||||
poetry run pyflakes .
|
||||
poetry run pyflakes jrnl tests
|
||||
poetry run black --check --diff .
|
||||
|
||||
test: lint ## Run unit tests and behave tests
|
||||
|
|
|
@ -153,7 +153,7 @@ def output_should_contain(output, cli_run):
|
|||
@then(parse("the output should not contain\n{output}"))
|
||||
@then(parse('the output should not contain "{output}"'))
|
||||
@then('the output should not contain "<output>"')
|
||||
def output_should_contain(output, cli_run):
|
||||
def output_should_not_contain(output, cli_run):
|
||||
assert output not in cli_run["stdout"]
|
||||
|
||||
|
||||
|
@ -169,7 +169,7 @@ def output_should_be(output, cli_run):
|
|||
|
||||
|
||||
@then('the output should contain the date "<date>"')
|
||||
def output_should_contain(output, cli_run):
|
||||
def output_should_contain_date(output, cli_run):
|
||||
assert output and output in cli_run["stdout"]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue