testing.generators.base

Module with interface for generators.

soupsavvy generator is anything that generates content, they should all inherit from this class and implement the ‘generate’ method.

class BaseGenerator[source]

Bases: ABC

Interface for all kind of soupsavvy generators.

All components generating content should inherit from this class and implement the generate method to return the generated content.

abstract generate() str[source]