Skip to content

Tests should be refactored #67

Open
@almet

Description

@almet

Some tests would benefit from a refactor. I'm mostly thinking about the logic contained in the _get_or_create private method, which is not directly tested but via its callers.

One solution here would be to create a base class with the behaviours we want to test and then derive multiple classes with the different inputs (bucket, collection and record).

Metadata

Metadata

Assignees

Labels

easy-pickenhancementstaleFor marking issues as stale. Labeled issues will be closed soon if label is not removed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions