|
@@ -273,6 +273,20 @@ class ServerTests(object):
|
|
|
|
|
|
self.assertEqual(len(os.listdir(self._client_repo.path)), 8)
|
|
|
|
|
|
+ def test_push_to_dulwich_issue_88_standard(self):
|
|
|
+
|
|
|
+
|
|
|
+ self._source_repo = import_repo('issue88_expect_ack_nak_client.export')
|
|
|
+ self.addCleanup(tear_down_repo, self._source_repo)
|
|
|
+ self._client_repo = import_repo('issue88_expect_ack_nak_server.export',
|
|
|
+ as_working_copy=True)
|
|
|
+ self.addCleanup(tear_down_repo, self._client_repo)
|
|
|
+ port = self._start_server(self._source_repo)
|
|
|
+
|
|
|
+ run_git_or_fail(['push', self.url(port), 'master',],
|
|
|
+ cwd=self._client_repo.path)
|
|
|
+ self.assertReposEqual(self._source_repo, self._client_repo)
|
|
|
+
|
|
|
|
|
|
|
|
|
|