more robust comparison

Co-authored-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
This commit is contained in:
meejah 2023-08-11 09:07:00 -06:00 committed by GitHub
parent d81b64ba9e
commit c03076fe21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ class UnrecognizedAnnouncement(unittest.TestCase):
self._tub_maker, self._tub_maker,
{}, {},
node_config=EMPTY_CLIENT_CONFIG, node_config=EMPTY_CLIENT_CONFIG,
config=config or StorageClientConfig(), config=config if config is not None else StorageClientConfig(),
) )
def test_no_exceptions(self): def test_no_exceptions(self):