Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ If the planning was accepted, Flight 1 should have been shared.
If the planning was rejected, Flight 1 should not have been shared, thus should not exist.

## Cleanup
### 🛑 Availability of virtual USS restored check
**[astm.f3548.v21.DSS0100,1](../../../../requirements/astm/f3548/v21.md)**
### [Restore virtual USS availability test step](../set_uss_available.md)

### 🛑 Successful flight deletion check
Delete flights injected at USS through the flight planning interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from uas_standards.astm.f3548.v21.api import (
OperationalIntentReference,
OperationalIntentState,
UssAvailabilityState,
)
from uas_standards.astm.f3548.v21.constants import Scope

Expand Down Expand Up @@ -313,25 +312,7 @@ def _clear_op_intents(self):

def cleanup(self):
self.begin_cleanup()

with self.check(
"Availability of virtual USS restored", [self.dss.participant_id]
) as check:
try:
availability_version, avail_query = self.dss.set_uss_availability(
self.uss_qualifier_sub,
UssAvailabilityState.Normal,
)
self.record_query(avail_query)
except QueryError as e:
self.record_queries(e.queries)
avail_query = e.queries[0]
check.record_failed(
summary=f"Availability of USS {self.uss_qualifier_sub} could not be set to available",
details=f"DSS responded code {avail_query.status_code}; {e}",
query_timestamps=[avail_query.request.timestamp],
)

set_uss_available(self, self.dss, self.uss_qualifier_sub)
cleanup_flights(self, [self.tested_uss])
self._clear_op_intents()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ to reject or accept Flight 2. If the USS indicates that the injection attempt fa


## Cleanup
### 🛑 Availability of virtual USS restored check
**[astm.f3548.v21.DSS0100,1](../../../../requirements/astm/f3548/v21.md)**
### [Restore virtual USS availability test step](../set_uss_available.md)

### 🛑 Successful flight deletion check
Delete flights injected at USS through the flight planning interface.
Expand Down
Loading