Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions shared/django_apps/core/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def _create(cls, model_class, *args, **kwargs):
ReportLevelTotalsFactory,
UploadFactory,
UploadFlagMembershipFactory,
UploadLevelTotalsFactory,
)

commit_report = CommitReportFactory(commit=commit)
Expand Down Expand Up @@ -129,17 +128,6 @@ def _create(cls, model_class, *args, **kwargs):
order_number=0,
storage_path="v4/raw/2019-01-10/4434BC2A2EC4FCA57F77B473D83F928C/abf6d4df662c47e32460020ab14abf9303581429/9ccc55a1-8b41-4bb1-a946-ee7a33a7fb56.txt",
)
UploadLevelTotalsFactory(
report_session=upload1,
files=3,
lines=20,
hits=17,
misses=3,
partials=0,
coverage=85.0,
branches=0,
methods=0,
)
UploadFlagMembershipFactory(
report_session=upload1,
flag=flag_unittests,
Expand All @@ -150,17 +138,6 @@ def _create(cls, model_class, *args, **kwargs):
order_number=1,
storage_path="v4/raw/2019-01-10/4434BC2A2EC4FCA57F77B473D83F928C/abf6d4df662c47e32460020ab14abf9303581429/9ccc55a1-8b41-4bb1-a946-ee7a33a7fb56.txt",
)
UploadLevelTotalsFactory(
report_session=upload2,
files=3,
lines=20,
hits=17,
misses=3,
partials=0,
coverage=85.0,
branches=0,
methods=0,
)
UploadFlagMembershipFactory(
report_session=upload2,
flag=flag_integrations,
Expand Down
7 changes: 0 additions & 7 deletions shared/django_apps/reports/tests/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ class Meta:
files = factory.Faker("pyint")


class UploadLevelTotalsFactory(DjangoModelFactory):
class Meta:
model = models.UploadLevelTotals

report_session = factory.SubFactory(UploadFactory)


class ReportDetailsFactory(DjangoModelFactory):
class Meta:
model = models.ReportDetails
Expand Down
Loading