Skip to content

Add some proper integration tests #19

Open
@joshuadavidthomas

Description

@joshuadavidthomas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⚠️ securityCritical security vulnerabilities that require immediate attention💅 nice to haveDesirable enhancements that are not critical to the project🧁 needs bakingRequires more time for consideration or development before further action🧪 testsIssues or tasks related to writing or improving tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions