◐ Shell
reader mode source ↗
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
11 changes: 11 additions & 0 deletions test/lib/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"with_rw_directory",
"with_rw_repo",
"with_rw_and_rw_remote_repo",
"TestBase",
"VirtualEnvironment",
"TestCase",
Expand All @@ -20,6 +21,7 @@
]

import contextlib
from functools import wraps
import gc
import io
Expand Up @@ -49,6 +51,15 @@

_logger = logging.getLogger(__name__)

# { Routines


Expand Down
306 changes: 304 additions & 2 deletions test/test_clone.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
# This module is part of GitPython and is released under the
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/

from pathlib import Path
import re

import git

from test.lib import TestBase, with_rw_directory


class TestClone(TestBase):
Expand All @@ -29,3 +40,294 @@ def test_checkout_in_non_empty_dir(self, rw_dir):
)
else:
self.fail("GitCommandError not raised")
Loading
Loading
Toggle all file notes Toggle all file annotations