Skip to content

Commit

Permalink
Fix interface tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Jan 3, 2024
1 parent 10cddac commit c4189ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/interface/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# pylint: disable=redefined-outer-name
import pytest
from interface_tester.plugin import InterfaceTester
from scenario import State
from scenario import PeerRelation, State

from charm import SmtpIntegratorOperatorCharm

Expand All @@ -24,6 +24,7 @@ def interface_tester(interface_tester: InterfaceTester):
state_template=State(
leader=True,
config={"host": "smtp.example"},
relations=[PeerRelation(endpoint="smtp-peers")],
),
)
yield interface_tester

0 comments on commit c4189ac

Please sign in to comment.