mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 12:08:31 +02:00
Fix behave test that was being missed due to "Outline" keyword; also adding in appropriate parameters and no error step
This commit is contained in:
parent
7f5fbca658
commit
15786dfc11
1 changed files with 3 additions and 2 deletions
|
@ -67,9 +67,10 @@ Feature: Functionality of Importer and Exporter Plugins
|
||||||
| txt | <pyproject.toml version> | plugins | exporter | text |
|
| txt | <pyproject.toml version> | plugins | exporter | text |
|
||||||
|
|
||||||
@skip_only_with_external_plugins
|
@skip_only_with_external_plugins
|
||||||
Scenario Outline: Custom JSON Import
|
Scenario: Custom JSON Import
|
||||||
Given we use the config "simple.yaml"
|
Given we use the config "simple.yaml"
|
||||||
When we run "jrnl --import ./features/data/simple_import.json"
|
When we run "jrnl --import --file ./features/data/simple_import.json --format json"
|
||||||
|
Then we should get no error
|
||||||
Then the journal should contain "My first entry."
|
Then the journal should contain "My first entry."
|
||||||
And the journal should contain "Life is good."
|
And the journal should contain "Life is good."
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue