Skip to content

Tests flexible to auth method #109

Closed
@max-sixty

Description

@max-sixty

At the moment, each auth method (Service key path / service key contents / user) has a separate class with tested functions

I think we could make this much simpler and more flexible - have a pytest fixture that generates a GBQConnector, and use that in each function. Then we can test on whatever auth method is available (and set a minimum if preferred: #72)

Separately, there is a lot of setup & teardown code that could be simplified through fixtures. And some manual test_ids that could be automated through pytest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions