We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0a7824 commit b85fec1Copy full SHA for b85fec1
test/test_clone.py
@@ -12,14 +12,16 @@
12
with_rw_directory,
13
)
14
15
+
16
class TestClone(TestBase):
17
@with_rw_directory
18
def test_checkout_in_non_empty_dir(self, rw_dir):
19
non_empty_dir = Path(rw_dir)
20
garbage_file = non_empty_dir / 'not-empty'
21
garbage_file.write_text('Garbage!')
22
- # Verify that cloning into the non-empty dir fails while complaining about the target directory not being empty/non-existent
23
+ # Verify that cloning into the non-empty dir fails while complaining about
24
+ # the target directory not being empty/non-existent
25
try:
26
self.rorepo.clone(non_empty_dir)
27
except git.GitCommandError as exc:
0 commit comments