mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
tests/debug: plug some resource leaks
This commit is contained in:
parent
0e31cfa784
commit
2ab8924e2d
10 changed files with 73 additions and 6 deletions
|
@ -178,6 +178,8 @@ class TestHttpCli(unittest.TestCase):
|
|||
ap = os.path.join(vn.realpath, rem)
|
||||
os.unlink(ap)
|
||||
|
||||
self.conn.shutdown()
|
||||
|
||||
def can_rw(self, fp):
|
||||
# lowest non-neutral folder declares permissions
|
||||
expect = fp.split("/")[:-1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue