staticgenerator/tests/unit/test_staticgenerator.py
def queryset_mock_factory(*args):
    """Creates a mock queryset with the given model instances"""
    queryset = QuerySet()
    queryset._result_cache = args
    return queryset
Creates a mock queryset with the given model instances
Creates a mock queryset with the given model instances
Creates a mock queryset with the given model instances
def queryset_mock_factory(*args):
    queryset = QuerySet()
    queryset._result_cache = args
    return queryset
def queryset_mock_factory ( * args ) : queryset = QuerySet ( ) queryset . _result_cache = args return queryset
Creates a mock queryset with the given model instances
Creates a mock queryset with the given model instances
"""Creates a mock queryset with the given model instances"""