Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 1b25d6d

Browse files
committed
fix test
1 parent 42244ae commit 1b25d6d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

graphql_api/tests/test_pull.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,21 +460,20 @@ def test_with_complete_pull_request(self):
460460
}
461461

462462
def test_compare_bundle_analysis_missing_reports(self):
463-
repository = RepositoryFactory(author=self.owner)
464463
head = CommitFactory(
465-
repository=repository,
464+
repository=self.repository,
466465
author=self.owner,
467466
commitid="cool-commit-id",
468467
totals={"c": "78.38", "diff": [0, 0, 0, 0, 0, "14"]},
469468
)
470469
compared_to = CommitFactory(
471-
repository=repository,
470+
repository=self.repository,
472471
author=self.owner,
473472
commitid="blah",
474473
)
475474

476475
my_pull = PullFactory(
477-
repository=repository,
476+
repository=self.repository,
478477
author=self.owner,
479478
head=head.commitid,
480479
compared_to=compared_to.commitid,

0 commit comments

Comments
 (0)