I know know how permissions work on linux

This commit is contained in:
meejah 2021-01-21 18:42:02 -07:00
parent a2f0f6581e
commit 66d4118e54
1 changed files with 7 additions and 0 deletions

View File

@ -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