mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-26 11:30:44 +00:00
relax test
This commit is contained in:
parent
66d4118e54
commit
75db6f3e62
@ -129,8 +129,15 @@ class GridManagerUtilities(SyncTestCase):
|
||||
config = config_from_string("/foo", "portnum", config_data, client_valid_config())
|
||||
with self.assertRaises(ValueError) as ctx:
|
||||
certs = config.get_grid_manager_certificates()
|
||||
# we don't reliably know how Windows or MacOS will represent
|
||||
# the path in the exception, so we don't check for the *exact*
|
||||
# message with full-path here..
|
||||
self.assertIn(
|
||||
"Grid Manager certificate file '{}' doesn't exist".format(cert_path),
|
||||
"Grid Manager certificate file",
|
||||
str(ctx.exception)
|
||||
)
|
||||
self.assertIn(
|
||||
" doesn't exist",
|
||||
str(ctx.exception)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user