projects
/
osm
/
N2VC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f222a9
)
Fix bug 2036
33/12233/1
author
David Garcia
<david.garcia@canonical.com>
Tue, 21 Jun 2022 09:26:57 +0000
(11:26 +0200)
committer
David Garcia
<david.garcia@canonical.com>
Tue, 21 Jun 2022 09:26:57 +0000
(11:26 +0200)
The unit tests were failing because of a wrong mock
Change-Id: Ie8fd9f6cf926e0aee72c1cd5b1601c073c9928ba
Signed-off-by: David Garcia <david.garcia@canonical.com>
n2vc/tests/unit/test_libjuju.py
patch
|
blob
|
history
diff --git
a/n2vc/tests/unit/test_libjuju.py
b/n2vc/tests/unit/test_libjuju.py
index
67cd19f
..
e7f43ab
100644
(file)
--- 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(
**{