Implement test keyrings and add password tests

- Implement TestKeyring
- Implement NoKeyring
- Implement FailedKeyring
- Copy in `read_value_from_string` function from old tests (will
  probably rewrite this later)
- Add fixtures for keyrings
- Implement "we have a keyring" step
- Implement step to check specific config values for tests

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
Jonathan Wren 2021-03-02 20:44:26 -08:00
parent 1c78a30535
commit fe018ee241
3 changed files with 110 additions and 115 deletions

View file

@ -9,7 +9,7 @@ scenarios("../features/delete.feature")
# scenarios("../features/format.feature")
# scenarios("../features/import.feature")
# scenarios("../features/multiple_journals.feature")
# scenarios("../features/password.feature")
scenarios("../features/password.feature")
# scenarios("../features/search.feature")
# scenarios("../features/star.feature")
# scenarios("../features/tag.feature")