From e75d1cb9b68ca528ac8ac4cd10773b5c3b55f78f Mon Sep 17 00:00:00 2001 From: Simon Li Date: Thu, 28 Mar 2024 16:26:02 +0000 Subject: [PATCH] Refer to GGH issue/PR in test_spawner_internal_ssl_secret --- tests/test_spawner.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_spawner.py b/tests/test_spawner.py index efb3d1af..432aefd9 100644 --- a/tests/test_spawner.py +++ b/tests/test_spawner.py @@ -370,6 +370,10 @@ async def test_spawner_internal_ssl_secret( ssl_app, config, ): + """ + Validate that certificates are correctly encoded as base64 + https://github.com/jupyterhub/kubespawner/pull/828 + """ spawner = KubeSpawner( config=config, user=MockUser(name="ssl"), @@ -383,7 +387,6 @@ async def test_spawner_internal_ssl_secret( spawner.cert_paths = await spawner.move_certs(hub_paths) - # Validate that certificates were correctly encoded as base64 manifest = spawner.get_secret_manifest(None) for _, secret in manifest.data.items(): base64.b64decode(secret, validate=True)