mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
skip using decorator
This commit is contained in:
parent
89872b832c
commit
7db48e3677
@ -166,12 +166,14 @@ class TestCase(testutil.SignalMixin, unittest.TestCase):
|
||||
with self.assertRaises(Exception):
|
||||
config.get_or_create_private_config("foo")
|
||||
|
||||
@skipIf(
|
||||
"win32" in sys.platform.lower() or "cygwin" in sys.platform.lower(),
|
||||
"We don't know how to set permissions on Windows.",
|
||||
)
|
||||
def test_private_config_unreadable_preexisting(self):
|
||||
if "win32" in sys.platform.lower() or "cygwin" in sys.platform.lower():
|
||||
# We don't know how to test that unprivileged users can't read this
|
||||
# thing. (Also we don't know exactly how to set the permissions so
|
||||
# that unprivileged users can't read this thing.)
|
||||
raise unittest.SkipTest("We don't know how to set permissions on Windows.")
|
||||
"""
|
||||
error if reading private config data fails
|
||||
"""
|
||||
basedir = u"test_node/test_private_config_unreadable_preexisting"
|
||||
create_node_dir(basedir, "testing")
|
||||
config = read_config(basedir, "portnum")
|
||||
|
Loading…
Reference in New Issue
Block a user