I know know how permissions work on linux
This commit is contained in:
parent
a2f0f6581e
commit
66d4118e54
|
@ -4,6 +4,9 @@ import json
|
||||||
from io import (
|
from io import (
|
||||||
BytesIO,
|
BytesIO,
|
||||||
)
|
)
|
||||||
|
from unittest import (
|
||||||
|
skipIf,
|
||||||
|
)
|
||||||
|
|
||||||
from ..common import (
|
from ..common import (
|
||||||
SyncTestCase,
|
SyncTestCase,
|
||||||
|
@ -25,6 +28,9 @@ from twisted.internet.defer import (
|
||||||
from twisted.python.filepath import (
|
from twisted.python.filepath import (
|
||||||
FilePath,
|
FilePath,
|
||||||
)
|
)
|
||||||
|
from twisted.python.runtime import (
|
||||||
|
platform,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class GridManagerCommandLine(SyncTestCase):
|
class GridManagerCommandLine(SyncTestCase):
|
||||||
|
@ -206,6 +212,7 @@ class GridManagerCommandLine(SyncTestCase):
|
||||||
result.output,
|
result.output,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@skipIf(not platform.isLinux(), "I only know how permissions work on linux")
|
||||||
def test_sign_bad_perms(self):
|
def test_sign_bad_perms(self):
|
||||||
"""
|
"""
|
||||||
Error reported if we can't create certificate file
|
Error reported if we can't create certificate file
|
||||||
|
|
Loading…
Reference in New Issue