interuss / monitoring

InterUSS Platform USS monitoring tools for federated UTM, including automated testing.
Apache License 2.0
12 stars 19 forks source link

[uss_qualifier] scd auth: only cleanup availability if the relevant part of the scenario runs #782

Closed Shastick closed 1 month ago

Shastick commented 1 month ago

self._availability_dss is only set when the relevant scopes are available.

The cleanup logic in def _ensure_test_entities_dont_exist() was not checking whether or not that field is available.

Note that the method might also be missing a similar check for the _scd_dss, but this will be addressed in a separate PR.

Closes #781