def METHOD_NAME(module_factory, project):
    module = module_factory(project=project)
    module_factory(project=project)
    module_factory(project=project)
    module_factory(project=project)
    assert module.project_modules.count() == 4
    assert module.other_modules.count() == 3