@@ -103,12 +103,12 @@ def test_test_type_all_disabled_steps() -> None:
103
103
disabled_step = MatterTestStep (label = "Disabled Test Step" , disabled = True )
104
104
five_disabled_steps_test = yaml_test_instance (tests = [disabled_step ] * 5 )
105
105
106
- type = _test_type (five_disabled_steps_test )
106
+ type , _ = _test_type (five_disabled_steps_test )
107
107
assert type == MatterTestType .MANUAL
108
108
109
109
# simulated in path overrides test type to simulated
110
110
five_disabled_steps_test .path = Path ("TC_XX_Simulated.yaml" )
111
- type = _test_type (five_disabled_steps_test )
111
+ type , _ = _test_type (five_disabled_steps_test )
112
112
assert type == MatterTestType .SIMULATED
113
113
114
114
@@ -117,25 +117,25 @@ def test_test_type_some_disabled_steps() -> None:
117
117
enabled_step = MatterTestStep (label = "Enabled Test Step" , disabled = False )
118
118
test = yaml_test_instance (tests = [disabled_step , enabled_step ])
119
119
120
- type = _test_type (test )
120
+ type , _ = _test_type (test )
121
121
assert type == MatterTestType .AUTOMATED
122
122
123
123
# simulated in path overrides test type to simulated
124
124
test .path = Path ("TC_XX_Simulated.yaml" )
125
- type = _test_type (test )
125
+ type , _ = _test_type (test )
126
126
assert type == MatterTestType .SIMULATED
127
127
128
128
129
129
def test_test_type_all_enabled_steps_no_prompts () -> None :
130
130
enabled_step = MatterTestStep (label = "Enabled Test Step" )
131
131
five_enabled_steps_test = yaml_test_instance (tests = [enabled_step ] * 5 )
132
132
133
- type = _test_type (five_enabled_steps_test )
133
+ type , _ = _test_type (five_enabled_steps_test )
134
134
assert type == MatterTestType .AUTOMATED
135
135
136
136
# simulated in path overrides test type to simulated
137
137
five_enabled_steps_test .path = Path ("TC_XX_Simulated.yaml" )
138
- type = _test_type (five_enabled_steps_test )
138
+ type , _ = _test_type (five_enabled_steps_test )
139
139
assert type == MatterTestType .SIMULATED
140
140
141
141
@@ -144,10 +144,10 @@ def test_test_type_all_enabled_steps_some_prompts() -> None:
144
144
prompt_step = MatterTestStep (label = "Prompt Test Step" , command = "UserPrompt" )
145
145
test = yaml_test_instance (tests = [enabled_step , prompt_step ])
146
146
147
- type = _test_type (test )
147
+ type , _ = _test_type (test )
148
148
assert type == MatterTestType .SEMI_AUTOMATED
149
149
150
150
# simulated in path overrides test type to simulated
151
151
test .path = Path ("TC_XX_Simulated.yaml" )
152
- type = _test_type (test )
152
+ type , _ = _test_type (test )
153
153
assert type == MatterTestType .SIMULATED
0 commit comments