depot/third_party/nixpkgs/pkgs/development/libraries/xdg-desktop-portal/trash-test.patch
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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()