@@ -33,6 +33,7 @@ def test_service_registrar_start() -> None:
3333 label = "Test Service" ,
3434 homepageUrl = "http://localhost:8000/ui" ,
3535 status = ServiceStatus .AVAILABLE ,
36+ realm = "test-realm" ,
3637 )
3738 mock_client .services .register .return_value = mock_response
3839
@@ -43,6 +44,7 @@ def test_service_registrar_start() -> None:
4344 label = "Test Service" ,
4445 homepageUrl = "http://localhost:8000/ui" ,
4546 status = ServiceStatus .AVAILABLE ,
47+ realm = "test-realm" ,
4648 ),
4749 )
4850
@@ -65,6 +67,7 @@ def test_service_registrar_stop() -> None:
6567 label = "Test Service" ,
6668 homepageUrl = "http://localhost:8000/ui" ,
6769 status = ServiceStatus .AVAILABLE ,
70+ realm = "test-realm" ,
6871 ),
6972 )
7073 registrar .instance_id = "test-instance-id"
@@ -91,6 +94,7 @@ def test_service_registrar_heartbeat() -> None:
9194 label = "Test Service" ,
9295 homepageUrl = "http://localhost:8000/ui" ,
9396 status = ServiceStatus .AVAILABLE ,
97+ realm = "test-realm" ,
9498 ),
9599 )
96100 registrar .instance_id = "test-instance-id"
@@ -112,6 +116,7 @@ def test_service_registrar_heartbeat_not_registered() -> None:
112116 label = "Test Service" ,
113117 homepageUrl = "http://localhost:8000/ui" ,
114118 status = ServiceStatus .AVAILABLE ,
119+ realm = "test-realm" ,
115120 ),
116121 )
117122 registrar .registered = False
0 commit comments