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:
Jonathan Wren 2021-03-02 19:32:02 -08:00
parent 921ebdcdd5
commit 1c78a30535
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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"]