@@ -1665,7 +1665,7 @@ def test_stop_expired_endpoints(
16651665@pytest .mark .django_db
16661666def test_handle_endpoint_status_in_service_event (settings ):
16671667 endpoint = EndpointFactory (
1668- status = EndpointStatusChoices .STARTING ,
1668+ status = EndpointStatusChoices .STARTED ,
16691669 )
16701670 event = {
16711671 "EndpointName" : f"{ settings .COMPONENTS_REGISTRY_PREFIX } -AE-{ endpoint .pk } " ,
@@ -1681,7 +1681,7 @@ def test_handle_endpoint_status_in_service_event(settings):
16811681@pytest .mark .django_db
16821682def test_handle_endpoint_status_failed_events (settings , mocker ):
16831683 endpoint = EndpointFactory (
1684- status = EndpointStatusChoices .STARTING ,
1684+ status = EndpointStatusChoices .STARTED ,
16851685 )
16861686 event = {
16871687 "EndpointName" : f"{ settings .COMPONENTS_REGISTRY_PREFIX } -AE-{ endpoint .pk } " ,
@@ -1703,7 +1703,7 @@ def test_handle_endpoint_status_failed_events(settings, mocker):
17031703@pytest .mark .django_db
17041704def test_handle_endpoint_status_invalid_events (settings , mocker ):
17051705 endpoint = EndpointFactory (
1706- status = EndpointStatusChoices .STARTING ,
1706+ status = EndpointStatusChoices .STARTED ,
17071707 )
17081708 event = {
17091709 "EndpointName" : f"{ settings .COMPONENTS_REGISTRY_PREFIX } -AE-{ endpoint .pk } " ,
@@ -1724,7 +1724,7 @@ def test_handle_endpoint_status_invalid_events(settings, mocker):
17241724
17251725@pytest .mark .parametrize (
17261726 "status" ,
1727- set (EndpointStatusChoices ).difference ([EndpointStatusChoices .STARTING ]),
1727+ set (EndpointStatusChoices ).difference ([EndpointStatusChoices .STARTED ]),
17281728)
17291729@pytest .mark .django_db
17301730def test_handle_endpoint_status_wrong_state_ignored (mocker , settings , status ):
0 commit comments