dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / development / libraries / xdg-desktop-portal / trash-test.patch
blob3bfa885972813e2b44279b9fdbaf81f4d1901fd7
1 diff --git a/tests/test_trash.py b/tests/test_trash.py
2 index d745cd2..173e3e5 100644
3 --- a/tests/test_trash.py
4 +++ b/tests/test_trash.py
5 @@ -24,13 +24,6 @@ class TestTrash:
6 def test_version(self, portal_mock):
7 portal_mock.check_version(1)
9 - def test_trash_file_fails(self, portal_mock):
10 - trash_intf = portal_mock.get_dbus_interface()
11 - with open("/proc/cmdline") as fd:
12 - result = trash_intf.TrashFile(fd.fileno())
14 - assert result == 0
16 def test_trash_file(self, portal_mock):
17 trash_intf = portal_mock.get_dbus_interface()