Skip to content

Commit 44b99f0

Browse files
TestRemoteOperations::test_makedirs_and_rmdirs_success is updated (#188)
The new checks are added.
1 parent e44aa98 commit 44b99f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_remote.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ def test_makedirs_and_rmdirs_success(self):
8383

8484
# Test makedirs
8585
self.operations.makedirs(path)
86+
assert os.path.exists(path)
8687
assert self.operations.path_exists(path)
8788

8889
# Test rmdirs
8990
self.operations.rmdirs(path)
91+
assert not os.path.exists(path)
9092
assert not self.operations.path_exists(path)
9193

9294
def test_makedirs_and_rmdirs_failure(self):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy