Skip to content

Commit 444a0f7

Browse files
committed
Up the coverage
1 parent bae7793 commit 444a0f7

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
@@ -459,6 +459,12 @@ def test_get_oidc_config(oidc_config: OIDCConfig):
459459
assert interface.get_oidc_config() == oidc_config
460460

461461

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

0 commit comments

Comments
 (0)