Skip to content

Use url fixture instead of abstract method in tests #750

Description

@sbland

Currently we often use the following abstract method in many of the test mixins:

    @abstractmethod
    def _get_url(self) -> str:
        return NotImplemented

Unfortunately this makes it difficult to pass args (including access to other fixtures) to the _get_url method.

I propose making this a fixture instead. I'll create a PR to demostrate.

Metadata

Metadata

Assignees

Labels

technicalTechnical work towards a feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
👀 In review

Relationships

None yet

Development

No branches or pull requests

Issue actions