Add some proper integration tests #19
Labels
🧁 needs baking
Requires more time for consideration or development before further action
💅 nice to have
Desirable enhancements that are not critical to the project
⚠️ security
Critical security vulnerabilities that require immediate attention
🧪 tests
Issues or tasks related to writing or improving tests
There's a little too much mocking for my liking in the test suite, but it seemed like the quickest way to test the library's functionality. I'd really like to add some actual integration tests that use a real 1Password vault.
I think the right idea would be to throw it behind a pytest mark that is skipped automatically. Then dedicate a whole 1Password vault for the tests, with the ability to automatically load some secrets (via a pytest fixture?) at the start of the test run that could then be used through out the run.
I would also want to use a service account that only had access to that single test vault.
The text was updated successfully, but these errors were encountered: