fixtures.py

Last source

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
"""Module defining fixtures for the Repository code_repository entity."""


from pytest import fixture

from .factories import RepositoryFactory


@fixture
def repository_factory():
    """Fixture to return the factory to create a ``Repository``.

    Returns
    -------
    Type[RepositoryFactory]
        The ``RepositoryFactory`` class.

    """
    return RepositoryFactory

Changes

refactor(core): Rename core domain context to code_repository

Commit
Hash

07e279b370c0924f2b2cf32aea016b307001dfa0

Date

2019-08-15 23:31:33 +0200

Type

Renamed

Old path

isshub/domain/contexts/core/entities/repository/tests/fixtures.py

Stats

+1 -1

@@ -1,4 +1,4 @@
-"""Module defining fixtures for the Repository core entity."""
+"""Module defining fixtures for the Repository code_repository entity."""


 from pytest import fixture