From 66d4118e5468f5a52714f522377bc3dcfff32145 Mon Sep 17 00:00:00 2001 From: meejah Date: Thu, 21 Jan 2021 18:42:02 -0700 Subject: [PATCH] I know know how permissions work on linux --- src/allmydata/test/cli/test_grid_manager.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/allmydata/test/cli/test_grid_manager.py b/src/allmydata/test/cli/test_grid_manager.py index 6150c4710..80a39d540 100644 --- a/src/allmydata/test/cli/test_grid_manager.py +++ b/src/allmydata/test/cli/test_grid_manager.py @@ -4,6 +4,9 @@ import json from io import ( BytesIO, ) +from unittest import ( + skipIf, +) from ..common import ( SyncTestCase, @@ -25,6 +28,9 @@ from twisted.internet.defer import ( from twisted.python.filepath import ( FilePath, ) +from twisted.python.runtime import ( + platform, +) class GridManagerCommandLine(SyncTestCase): @@ -206,6 +212,7 @@ class GridManagerCommandLine(SyncTestCase): result.output, ) + @skipIf(not platform.isLinux(), "I only know how permissions work on linux") def test_sign_bad_perms(self): """ Error reported if we can't create certificate file