From 3af35d0e44a77b96999c872da9cb3e0fc906e201 Mon Sep 17 00:00:00 2001 From: Pietro Pasotti Date: Tue, 5 Dec 2023 10:25:03 +0100 Subject: [PATCH] fixed network tests --- tests/test_e2e/test_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_e2e/test_network.py b/tests/test_e2e/test_network.py index 997ad331..b0f7b8a4 100644 --- a/tests/test_e2e/test_network.py +++ b/tests/test_e2e/test_network.py @@ -57,12 +57,12 @@ def test_ip_get(mycharm): ) as mgr: # we have a network for the relation rel = mgr.charm.model.get_relation("metrics-endpoint") - assert str(mgr.charm.model.get_binding(rel).network.bind_address) == "1.1.1.1" + assert str(mgr.charm.model.get_binding(rel).network.bind_address) == "192.0.2.0" # we have a network for a binding without relations on it assert ( str(mgr.charm.model.get_binding("deadnodead").network.bind_address) - == "1.1.1.1" + == "192.0.2.0" ) # and an extra binding