From 2dc6c5f2e808b2208767f9f07e38ccf56912e3da Mon Sep 17 00:00:00 2001 From: meejah Date: Tue, 19 Jan 2021 10:11:36 -0700 Subject: [PATCH] add a gm cert in the client test --- src/allmydata/test/test_client.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index 2c4ccca25..8ce63dc8a 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -1558,6 +1558,8 @@ enabled = {storage_enabled} } with self.basedir.child("zero.cert").open("w") as f: json.dump(fake_cert, f) + with self.basedir.child("gm0.cert").open("w") as f: + json.dump(fake_cert, f) config = client.config_from_string( self.basedir.path, @@ -1566,6 +1568,8 @@ enabled = {storage_enabled} storage_enabled=True, more_storage="grid_management = True", more_sections=( + "[grid_managers]\n" + "gm0 = pub-v0-ibpbsexcjfbv3ni7gwlclgn6mldaqnqd5mrtan2fnq2b27xnovca\n" "[grid_manager_certificates]\n" "foo = zero.cert\n" )