File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -117,19 +117,19 @@ def test___module___get_chassis___shared_interpreter(device: Device):
117
117
def test___ext_cal_last_date_and_time___no_errors (any_x_series_device : Device ) -> None :
118
118
last_date_and_time = any_x_series_device .ext_cal_last_date_and_time
119
119
120
- assert last_date_and_time != None
120
+ assert last_date_and_time is not None
121
121
122
122
123
123
def test___self_cal_last_date_and_time___no_errors (any_x_series_device : Device ) -> None :
124
124
last_date_and_time = any_x_series_device .self_cal_last_date_and_time
125
125
126
- assert last_date_and_time != None
126
+ assert last_date_and_time is not None
127
127
128
128
129
129
def test___device_supports_cal___no_errors (any_x_series_device : Device ) -> None :
130
130
is_cal_supported = any_x_series_device .device_supports_cal
131
131
132
- assert is_cal_supported == True
132
+ assert is_cal_supported is True
133
133
134
134
135
135
def test___cal_acc_connection_count___no_errors (any_x_series_device : Device ) -> None :
@@ -154,7 +154,9 @@ def test___cal_dev_temp___no_errors(any_x_series_device: Device) -> None:
154
154
assert 0.0 != temperature
155
155
156
156
157
- def test___cal_recommended_acc_connection_count_limit___no_errors (any_x_series_device : Device ) -> None :
157
+ def test___cal_recommended_acc_connection_count_limit___no_errors (
158
+ any_x_series_device : Device ,
159
+ ) -> None :
158
160
try :
159
161
acc_connection_count_limit = any_x_series_device .cal_recommended_acc_connection_count_limit
160
162
print (f"current_acc_connection_count_limit: { acc_connection_count_limit } " )
You can’t perform that action at this time.
0 commit comments