mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-03-14 19:41:39 +00:00
Made a few minor style fixes, and added a proper error in cases where the target path of send2trash() doesn't exist.
This commit is contained in:
@@ -3,6 +3,10 @@ import os
|
||||
from os import path as op
|
||||
from send2trash.plat_other import send2trash
|
||||
from configparser import ConfigParser
|
||||
|
||||
# XXX Although this unittest is better than no unit test at all, it would be better to mock
|
||||
# os.path.mountpoint() rather than going through ramfs (and requiring admin rights).
|
||||
|
||||
#
|
||||
# Warning: This test will shit up your Trash folder with test.txt files.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user