]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/tests/patchparser.py
parser: allow other protocol types in pull-request handling
[patchwork] / apps / patchwork / tests / patchparser.py
index 7013e851f835bf0130be661c06e908962b33d331..5c8c41208f837f096661ef8b07a170a5a6177d81 100644 (file)
@@ -373,3 +373,13 @@ class GitPullWithDiffTest(PatchTest):
             patch.content.startswith('diff --git a/arch/x86/include/asm/smp.h'),
             patch.content)
         self.assertTrue(comment is not None)
+
+class GitPullGitSSHUrlTest(GitPullTest):
+    mail_file = '0004-git-pull-request-git+ssh.mbox'
+
+class GitPullSSHUrlTest(GitPullTest):
+    mail_file = '0005-git-pull-request-ssh.mbox'
+
+class GitPullHTTPUrlTest(GitPullTest):
+    mail_file = '0006-git-pull-request-http.mbox'
+