Skip to content

Commit

Permalink
Fix hygiene
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminPelletier committed Nov 8, 2023
1 parent 5e7d593 commit 0e630aa
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 10 deletions.
10 changes: 8 additions & 2 deletions monitoring/monitorlib/inspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,11 @@ def get_module_object_by_name(parent_module, object_name: str):
def fullname(class_type: Type) -> str:
module = class_type.__module__
if module == "builtins":
return class_type.__qualname__ # avoid outputs like 'builtins.str'
return module + "." + class_type.__qualname__
if hasattr(class_type, "__qualname__"):
return class_type.__qualname__ # avoid outputs like 'builtins.str'
else:
return str(class_type)
if hasattr(class_type, "__qualname__"):
return module + "." + class_type.__qualname__
else:
return str(class_type)
8 changes: 6 additions & 2 deletions monitoring/uss_qualifier/scenarios/astm/utm/prep_planners.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ FlightIntentsResource containing flight intents that will be used in subsequent

(Optional) If more than one FlightIntentsResource will be used in subsequent tests, additional intents may be specified with this resource.

### flight_intents4

(Optional) If more than one FlightIntentsResource will be used in subsequent tests, additional intents may be specified with this resource.

## Preparation test case

### Check for flight planning readiness test step
Expand All @@ -34,7 +38,7 @@ All USSs are queried for their readiness to ensure later tests can proceed.

#### ⚠️ Valid response to readiness query check

**[interuss.automated_testing.flight_planning.ImplementInterface](../../../requirements/interuss/automated_testing/flight_planning.md)**
**[interuss.automated_testing.flight_planning.ImplementAPI](../../../requirements/interuss/automated_testing/flight_planning.md)**

#### ⚠️ Flight planning USS ready check

Expand All @@ -46,7 +50,7 @@ All USSs are requested to remove all flights from the area under test.

#### ⚠️ Valid response to clearing query check

**[interuss.automated_testing.flight_planning.ImplementInterface](../../../requirements/interuss/automated_testing/flight_planning.md)**
**[interuss.automated_testing.flight_planning.ImplementAPI](../../../requirements/interuss/automated_testing/flight_planning.md)**

#### ⚠️ Area cleared successfully check

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ FlightIntentsResource containing flight intents that will be used in subsequent

(Optional) If more than one FlightIntentsResource will be used in subsequent tests, additional intents may be specified with this resource.

### flight_intents4

(Optional) If more than one FlightIntentsResource will be used in subsequent tests, additional intents may be specified with this resource.

## Preparation test case

### Check for flight planning readiness test step
Expand All @@ -30,7 +34,7 @@ All USSs are queried for their readiness to ensure later tests can proceed.

#### ⚠️ Valid response to readiness query check

**[interuss.automated_testing.flight_planning.ImplementInterface](../../requirements/interuss/automated_testing/flight_planning.md)**
**[interuss.automated_testing.flight_planning.ImplementAPI](../../requirements/interuss/automated_testing/flight_planning.md)**

#### ⚠️ Flight planning USS ready check

Expand All @@ -42,7 +46,7 @@ All USSs are requested to remove all flights from the area under test.

#### ⚠️ Valid response to clearing query check

**[interuss.automated_testing.flight_planning.ImplementInterface](../../requirements/interuss/automated_testing/flight_planning.md)**
**[interuss.automated_testing.flight_planning.ImplementAPI](../../requirements/interuss/automated_testing/flight_planning.md)**

#### ⚠️ Area cleared successfully check

Expand Down
2 changes: 1 addition & 1 deletion monitoring/uss_qualifier/suites/astm/utm/f3548_21.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<td><a href="../../../scenarios/astm/utm/data_exchange_validation/get_op_data_validation.md">Data Validation of GET operational intents by USS</a><br><a href="../../../scenarios/astm/utm/nominal_planning/conflict_higher_priority/conflict_higher_priority.md">Nominal planning: conflict with higher priority</a><br><a href="../../../scenarios/astm/utm/nominal_planning/conflict_equal_priority_not_permitted/conflict_equal_priority_not_permitted.md">Nominal planning: not permitted conflict with equal priority</a><br><a href="../../../scenarios/astm/utm/flight_intent_validation/flight_intent_validation.md">Validation of operational intents</a></td>
</tr>
<tr>
<td><a href="../../../requirements/interuss/automated_testing/flight_planning.md">ImplementInterface</a></td>
<td><a href="../../../requirements/interuss/automated_testing/flight_planning.md">ImplementAPI</a></td>
<td>Implemented</td>
<td><a href="../../../scenarios/astm/utm/prep_planners.md">ASTM F3548 flight planners preparation</a></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion monitoring/uss_qualifier/suites/faa/uft/message_signing.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
<td><a href="../../../scenarios/astm/utm/data_exchange_validation/get_op_data_validation.md">Data Validation of GET operational intents by USS</a><br><a href="../../../scenarios/astm/utm/nominal_planning/conflict_higher_priority/conflict_higher_priority.md">Nominal planning: conflict with higher priority</a><br><a href="../../../scenarios/astm/utm/nominal_planning/conflict_equal_priority_not_permitted/conflict_equal_priority_not_permitted.md">Nominal planning: not permitted conflict with equal priority</a><br><a href="../../../scenarios/astm/utm/flight_intent_validation/flight_intent_validation.md">Validation of operational intents</a></td>
</tr>
<tr>
<td><a href="../../../requirements/interuss/automated_testing/flight_planning.md">ImplementInterface</a></td>
<td><a href="../../../requirements/interuss/automated_testing/flight_planning.md">ImplementAPI</a></td>
<td>Implemented</td>
<td><a href="../../../scenarios/astm/utm/prep_planners.md">ASTM F3548 flight planners preparation</a></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion monitoring/uss_qualifier/suites/uspace/flight_auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
<td><a href="../../scenarios/astm/utm/data_exchange_validation/get_op_data_validation.md">Data Validation of GET operational intents by USS</a><br><a href="../../scenarios/astm/utm/nominal_planning/conflict_higher_priority/conflict_higher_priority.md">Nominal planning: conflict with higher priority</a><br><a href="../../scenarios/astm/utm/nominal_planning/conflict_equal_priority_not_permitted/conflict_equal_priority_not_permitted.md">Nominal planning: not permitted conflict with equal priority</a><br><a href="../../scenarios/astm/utm/flight_intent_validation/flight_intent_validation.md">Validation of operational intents</a></td>
</tr>
<tr>
<td><a href="../../requirements/interuss/automated_testing/flight_planning.md">ImplementInterface</a></td>
<td><a href="../../requirements/interuss/automated_testing/flight_planning.md">ImplementAPI</a></td>
<td>Implemented</td>
<td><a href="../../scenarios/astm/utm/prep_planners.md">ASTM F3548 flight planners preparation</a><br><a href="../../scenarios/flight_planning/prep_planners.md">Generic flight planners preparation</a></td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@
<td><a href="../../scenarios/astm/utm/data_exchange_validation/get_op_data_validation.md">Data Validation of GET operational intents by USS</a><br><a href="../../scenarios/astm/utm/nominal_planning/conflict_higher_priority/conflict_higher_priority.md">Nominal planning: conflict with higher priority</a><br><a href="../../scenarios/astm/utm/nominal_planning/conflict_equal_priority_not_permitted/conflict_equal_priority_not_permitted.md">Nominal planning: not permitted conflict with equal priority</a><br><a href="../../scenarios/astm/utm/flight_intent_validation/flight_intent_validation.md">Validation of operational intents</a></td>
</tr>
<tr>
<td><a href="../../requirements/interuss/automated_testing/flight_planning.md">ImplementInterface</a></td>
<td><a href="../../requirements/interuss/automated_testing/flight_planning.md">ImplementAPI</a></td>
<td>Implemented</td>
<td><a href="../../scenarios/astm/utm/prep_planners.md">ASTM F3548 flight planners preparation</a><br><a href="../../scenarios/flight_planning/prep_planners.md">Generic flight planners preparation</a></td>
</tr>
Expand Down

0 comments on commit 0e630aa

Please sign in to comment.