Skip to content

Commit

Permalink
Merge pull request #1115 from jefmoura/379-add-reporting-period
Browse files Browse the repository at this point in the history
Add a factory for ReportingPeriod
  • Loading branch information
jefmoura authored Jul 4, 2018
2 parents 38d9581 + 6a2b982 commit f754717
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions factories/indicators_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
Level as LevelM,
Objective as ObjectiveM,
PeriodicTarget as PeriodicTargetM,
ReportingPeriod as ReportingPeriodM,
StrategicObjective as StrategicObjectiveM,
)
from .workflow_models import (Organization, WorkflowLevel1)
Expand Down Expand Up @@ -119,6 +120,13 @@ class Meta:
organization = SubFactory(Organization)


class ReportingPeriod(DjangoModelFactory):
class Meta:
model = ReportingPeriodM

period = 'Quarter 1/2018'


class StrategicObjective(DjangoModelFactory):
class Meta:
model = StrategicObjectiveM
Expand Down

0 comments on commit f754717

Please sign in to comment.