1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2026-01-28 01:21:40 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Yaofei Zheng
ad0f2af984 python2 removal: more clean up (#107)
1. remove from __future__ as those feature is mandatory >= 3.0 and we are in the future
2. python3 script defaults to UTF-8
2026-01-27 00:57:55 -06:00
8d96aa29df tests: Cleanup some pylint errors and share common fixture
- Cleanup some of the pylint erros in the tests
- Reorganize some of the tests functions and fixtures
- Move the one common fixture to conftest.py for sharing
2025-12-31 02:30:38 +00:00
d0e4890a4d Black format updates with correct line length 2021-08-17 18:58:11 -05:00
356509120b Add some checks to catch test failure
Really just checking that the setup is able to create test files so it
is known they were there then removed.
Windows tests really need verification of
recycle, which is not present.
2021-03-17 20:52:16 -05:00
dbdcce8b04 First batch of updates to unit tests
- Remove content from __init__.py
- Change test_script_main to use pytest
- Update test_script_main to run on windows as well as linux
2021-03-02 00:26:29 -06:00
Matthew D. Scholefield
9ede898c3e Create __main__.py (Fixes #15) (#38)
This adds a main method that mimics the behavior of `rm`. It can be called via `python -m send2trash somefile`.
2020-05-27 07:52:00 -04:00