(self, author=None)
| 41 | ) |
| 42 | |
| 43 | def create_commit(self, author=None): |
| 44 | return Commit.objects.create( |
| 45 | organization_id=self.organization.id, |
| 46 | repository_id=self.repo.id, |
| 47 | key=uuid4().hex, |
| 48 | author=author, |
| 49 | ) |
| 50 | |
| 51 | def create_commitfilechange(self, commit=None, filename=None, type=None): |
| 52 | return CommitFileChange.objects.create( |
no test coverage detected