From d266ac6a3f32d57e31f3b181276177c67cc85aaa Mon Sep 17 00:00:00 2001 From: Dan Bungert Date: Mon, 26 Feb 2024 16:59:21 -0700 Subject: [PATCH] server: fix py3.12 related unittest deprecation --- subiquity/server/tests/test_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/server/tests/test_controller.py b/subiquity/server/tests/test_controller.py index 89592aa7..84b37754 100644 --- a/subiquity/server/tests/test_controller.py +++ b/subiquity/server/tests/test_controller.py @@ -83,7 +83,7 @@ class TestController(SubiTestCase): exception = ctx.exception # Assert error section is based on autoinstall_key - self.assertEquals(exception.owner, "some-key") + self.assertEqual(exception.owner, "some-key") # Assert apport report is not created # This only checks that controllers do not manually create an apport