Loading src/sunrise6g_opensdk/network/core/network_interface.py +8 −2 Original line number Diff line number Diff line Loading @@ -226,8 +226,14 @@ class NetworkManagementInterface(ABC): def _compute_camara_last_location_time(self, event_time: datetime, age_of_location_info_min : int = None) -> datetime: """ event_time_str: ISO 8601 string, e.g. "2025-06-18T12:30:00Z" Computes the last location time based on the event time and age of location info. args: event_time: ISO 8601 datetime, e.g. "2025-06-18T12:30:00Z" age_of_location_info_min: unsigned int, age of location info in minutes returns: datetime object representing the last location time in UTC. """ if age_of_location_info_min is not None: last_location_time = event_time - timedelta(minutes=age_of_location_info_min) Loading tests/network/conftest.py +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ def monitoring_request_3gpp_payload_output_data(camara_payload_input_data: Retri @pytest.fixture(scope="module", name="expected_camara_output_data") def monitoring_request_camara_payload_output_data(camara_payload_input_data: RetrievalLocationRequest) -> Location: """ Fixture to provide output data for 3GPP monitoring event request payload. Fixture to provide output data for camara request payload. Example: Loading Loading
src/sunrise6g_opensdk/network/core/network_interface.py +8 −2 Original line number Diff line number Diff line Loading @@ -226,8 +226,14 @@ class NetworkManagementInterface(ABC): def _compute_camara_last_location_time(self, event_time: datetime, age_of_location_info_min : int = None) -> datetime: """ event_time_str: ISO 8601 string, e.g. "2025-06-18T12:30:00Z" Computes the last location time based on the event time and age of location info. args: event_time: ISO 8601 datetime, e.g. "2025-06-18T12:30:00Z" age_of_location_info_min: unsigned int, age of location info in minutes returns: datetime object representing the last location time in UTC. """ if age_of_location_info_min is not None: last_location_time = event_time - timedelta(minutes=age_of_location_info_min) Loading
tests/network/conftest.py +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ def monitoring_request_3gpp_payload_output_data(camara_payload_input_data: Retri @pytest.fixture(scope="module", name="expected_camara_output_data") def monitoring_request_camara_payload_output_data(camara_payload_input_data: RetrievalLocationRequest) -> Location: """ Fixture to provide output data for 3GPP monitoring event request payload. Fixture to provide output data for camara request payload. Example: Loading