(self, name=None, email=None)
| 34 | ) |
| 35 | |
| 36 | def create_commit_author(self, name=None, email=None): |
| 37 | return CommitAuthor.objects.create( |
| 38 | organization_id=self.organization.id, |
| 39 | name=name or f"Test Author {uuid4().hex[:8]}", |
| 40 | email=email or f"test{uuid4().hex[:8]}@example.com", |
| 41 | ) |
| 42 | |
| 43 | def create_commit(self, author=None): |
| 44 | return Commit.objects.create( |
no test coverage detected