Skip to content

Commit 3d17702

Browse files
committed
Up the coverage
1 parent 73afdb4 commit 3d17702

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/unit_tests/service/test_interface.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,12 @@ def test_get_oidc_config(oidc_config: OIDCConfig):
457457
assert interface.get_oidc_config() == oidc_config
458458

459459

460+
def test_get_stomp_config():
461+
stomp_config = StompConfig(enabled=False)
462+
interface.set_config(ApplicationConfig(stomp=stomp_config))
463+
assert interface.get_stomp_config() is stomp_config
464+
465+
460466
def test_stomp_config(mock_stomp_client: StompClient):
461467
with patch(
462468
"blueapi.service.interface.StompClient.for_broker",

0 commit comments

Comments
 (0)