We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 768b00a commit 1b94f84Copy full SHA for 1b94f84
test_marvin_actions.py
@@ -332,6 +332,11 @@ def testCommitResponse(self):
332
expected = f"Använd detta meddelandet: '{message}'"
333
self.assertActionOutput(marvin_actions.marvinCommit, "commit", expected)
334
335
+ def testCommitReaction(self):
336
+ """Test that marvin only generates commit messages when asked"""
337
+ self.assertActionSilent(marvin_actions.marvinCommit, "nocommit")
338
+
339
340
def testCommitError(self):
341
"""Tests that marvin sends the proper message when get commit fails"""
342
with mock.patch("marvin_actions.requests.get", side_effect=Exception('API Down!')):
0 commit comments