2
0
Эх сурвалжийг харах

Mark test_send_pack_from_shallow_clone as known failing. See #705 anmd #757 for details.

Jelmer Vernooij 5 жил өмнө
parent
commit
c88a7c5952

+ 3 - 0
dulwich/tests/compat/test_client.py

@@ -30,6 +30,7 @@ import sys
 import tarfile
 import tarfile
 import tempfile
 import tempfile
 import threading
 import threading
+import unittest
 
 
 try:
 try:
     from urlparse import unquote
     from urlparse import unquote
@@ -117,6 +118,8 @@ class DulwichClientTestBase(object):
         # nothing to send, but shouldn't raise either.
         # nothing to send, but shouldn't raise either.
         self._do_send_pack()
         self._do_send_pack()
 
 
+    # Pushing from a shallow clone currently fails. See #705
+    @unittest.expectedFailure
     def test_send_pack_from_shallow_clone(self):
     def test_send_pack_from_shallow_clone(self):
         c = self._client()
         c = self._client()
         server_new_path = os.path.join(self.gitroot, 'server_new.export')
         server_new_path = os.path.join(self.gitroot, 'server_new.export')