MCPcopy Create free account
hub / github.com/getsentry/sentry / create_commit_author

Method create_commit_author

tests/sentry/utils/test_committers.py:36–41  ·  view source on GitHub ↗
(self, name=None, email=None)

Source from the content-addressed store, hash-verified

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(

Calls 1

createMethod · 0.45

Tested by

no test coverage detected