depot/pkgs/development/libraries/xdg-desktop-portal/trash-test.patch
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

18 lines
594 B
Diff

diff --git a/tests/test_trash.py b/tests/test_trash.py
index d745cd2..173e3e5 100644
--- a/tests/test_trash.py
+++ b/tests/test_trash.py
@@ -24,13 +24,6 @@ class TestTrash:
def test_version(self, portal_mock):
portal_mock.check_version(1)
- def test_trash_file_fails(self, portal_mock):
- trash_intf = portal_mock.get_dbus_interface()
- with open("/proc/cmdline") as fd:
- result = trash_intf.TrashFile(fd.fileno())
-
- assert result == 0
-
def test_trash_file(self, portal_mock):
trash_intf = portal_mock.get_dbus_interface()