File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -160,10 +160,10 @@ def test_dscp_to_fc(self, dvs):
160
160
]
161
161
162
162
for fvs in maps :
163
- dscp_ps .set ('AZURE' , swsscommon .FieldValuePairs ([fvs ]))
163
+ self . dscp_ps .set ('AZURE' , swsscommon .FieldValuePairs ([fvs ]))
164
164
time .sleep (1 )
165
- assert (asic_qos_map_count == len (asic_db .get_keys ('ASIC_STATE:SAI_OBJECT_TYPE_QOS_MAP' )))
166
- dscp_ps ._del ("AZURE" )
165
+ assert (self . asic_qos_map_count == len (self . asic_db .get_keys ('ASIC_STATE:SAI_OBJECT_TYPE_QOS_MAP' )))
166
+ self . dscp_ps ._del ("AZURE" )
167
167
168
168
# Delete a map that does not exist. Nothing should happen
169
169
self .dscp_ps ._del ("AZURE" )
@@ -201,10 +201,10 @@ def test_exp_to_fc(self, dvs):
201
201
]
202
202
203
203
for fvs in maps :
204
- exp_ps .set ('AZURE' , swsscommon .FieldValuePairs ([fvs ]))
204
+ self . exp_ps .set ('AZURE' , swsscommon .FieldValuePairs ([fvs ]))
205
205
time .sleep (1 )
206
- assert (asic_qos_map_count == len (asic_db .get_keys ('ASIC_STATE:SAI_OBJECT_TYPE_QOS_MAP' )))
207
- exp_ps ._del ("AZURE" )
206
+ assert (self . asic_qos_map_count == len (self . asic_db .get_keys ('ASIC_STATE:SAI_OBJECT_TYPE_QOS_MAP' )))
207
+ self . exp_ps ._del ("AZURE" )
208
208
209
209
# Update the map with valid values
210
210
exp_map = [(str (i ), str (i + 10 )) for i in range (0 , 8 )]
You can’t perform that action at this time.
0 commit comments