From: David Garcia Date: Tue, 21 Jun 2022 09:26:57 +0000 (+0200) Subject: Fix bug 2036 X-Git-Tag: v10.1.4 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=711c81ba52309e08f05e6c027c281ff19d8854ee;p=osm%2FN2VC.git Fix bug 2036 The unit tests were failing because of a wrong mock Change-Id: Ie8fd9f6cf926e0aee72c1cd5b1601c073c9928ba Signed-off-by: David Garcia (cherry picked from commit 553d1b7cf256eb95f8fdb9822a23ac755e1764f3) --- diff --git a/n2vc/tests/unit/test_libjuju.py b/n2vc/tests/unit/test_libjuju.py index 918a2fb..f590057 100644 --- a/n2vc/tests/unit/test_libjuju.py +++ b/n2vc/tests/unit/test_libjuju.py @@ -58,7 +58,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( **{