Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/AAP13369' into AAP13369
Browse files Browse the repository at this point in the history
  • Loading branch information
CFSNM committed Mar 5, 2024
2 parents df00480 + 8b6156f commit 19350b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions awx/main/tests/unit/utils/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ def test_get_model_for_valid_type(model_type, model_class):
assert common.get_model_for_type(model_type) == model_class


def test_is_testing():
assert common.is_testing() is True


@pytest.mark.parametrize("model_type,model_class", [(name, cls) for cls, name in TEST_MODELS])
def test_get_capacity_type(model_type, model_class):
if model_type in ('job', 'ad_hoc_command', 'inventory_update', 'job_template'):
Expand Down

0 comments on commit 19350b8

Please sign in to comment.