summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/ci/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/ci/__init__.py')
-rw-r--r--test/lib/ansible_test/_internal/ci/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/ci/__init__.py b/test/lib/ansible_test/_internal/ci/__init__.py
index cc75a5b63e..5e53b15075 100644
--- a/test/lib/ansible_test/_internal/ci/__init__.py
+++ b/test/lib/ansible_test/_internal/ci/__init__.py
@@ -62,8 +62,8 @@ class CIProvider(metaclass=abc.ABCMeta):
"""Return a resource prefix specific to this CI provider."""
@abc.abstractmethod
- def get_base_branch(self) -> str:
- """Return the base branch or an empty string."""
+ def get_base_commit(self, args: CommonConfig) -> str:
+ """Return the base commit or an empty string."""
@abc.abstractmethod
def detect_changes(self, args: TestConfig) -> t.Optional[list[str]]: