From 553d1b7cf256eb95f8fdb9822a23ac755e1764f3 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 21 Jun 2022 11:26:57 +0200 Subject: [PATCH] Fix bug 2036 The unit tests were failing because of a wrong mock Change-Id: Ie8fd9f6cf926e0aee72c1cd5b1601c073c9928ba Signed-off-by: David Garcia --- n2vc/tests/unit/test_libjuju.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/n2vc/tests/unit/test_libjuju.py b/n2vc/tests/unit/test_libjuju.py index 67cd19f..e7f43ab 100644 --- a/n2vc/tests/unit/test_libjuju.py +++ b/n2vc/tests/unit/test_libjuju.py @@ -60,7 +60,7 @@ class LibjujuTestCase(asynctest.TestCase): self.loop = asyncio.get_event_loop() self.db = Mock() mock_base64_to_cacert.return_value = cacert - Connection._load_vca_connection_data = Mock() + # Connection._load_vca_connection_data = Mock() vca_connection = Connection(AsyncMock()) vca_connection._data = ConnectionData( **{ -- 2.25.1