Esempio n. 1
0
  def test_mkdir_url(self):
    """Test svn_client_mkdir2 on a file:// URL"""
    directory = urljoin(self.repos_uri+"/", "dir1")

    commit_info = client.mkdir2((directory,), self.client_ctx)
    self.assertEqual(commit_info.revision, 13)
    self.assertEqual(self.log_message_func_calls, 1)
Esempio n. 2
0
  def test_mkdir_url(self):
    """Test svn_client_mkdir2 on a file:// URL"""
    directory = urljoin(self.repos_uri+b"/", b"dir1")

    commit_info = client.mkdir2((directory,), self.client_ctx)
    self.assertEqual(commit_info.revision, 13)
    self.assertEqual(self.log_message_func_calls, 1)
Esempio n. 3
0
    def test_mkdir_url(self):
        """Test svn_client_mkdir2 on a file:// URL"""
        dir = urljoin(REPOS_URL + "/", "dir1")

        commit_info = client.mkdir2((dir, ), self.client_ctx)
        self.assertEqual(commit_info.revision, 13)
        self.assertEqual(self.log_message_func_calls, 1)