summaryrefslogtreecommitdiff
path: root/tests/05_test_detection.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/05_test_detection.py')
-rw-r--r--tests/05_test_detection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/05_test_detection.py b/tests/05_test_detection.py
index 8ae5265..126a299 100644
--- a/tests/05_test_detection.py
+++ b/tests/05_test_detection.py
@@ -24,8 +24,8 @@ class MockGitRepository:
def grep_log(self, regex, branch):
return None
- def get_subject(self, commit):
- return self.subject
+ def get_commit_info(self, commit):
+ return {'subject': self.subject}
class TestDetection(unittest.TestCase):
def setUp(self):