Skip to content

Commit f804931

Browse files
committed
test: update tests and snapshot for mask calculation change
1 parent e38a32d commit f804931

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/components/netro_watering/snapshots/test_http_client.ambr

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@
150150
}),
151151
dict({
152152
'id': 42,
153-
'key': 'an********et',
153+
'key': 'an**********et',
154154
}),
155155
]),
156-
'key': 'se********45',
156+
'key': 'se****************45',
157157
'message': 'success',
158158
'nested': dict({
159159
'data': 'normal_data',
160-
'key': 'ne********ey',
161-
'serial': 'ne********al',
160+
'key': 'ne******ey',
161+
'serial': 'ne*********al',
162162
}),
163163
'serial': 'AB********89',
164164
}),
@@ -226,7 +226,7 @@
226226
'is_copy': True,
227227
'output': dict({
228228
'json': dict({
229-
'key': 'se********et',
229+
'key': 'se**et',
230230
}),
231231
'params': 'not_a_dict',
232232
}),

tests/components/netro_watering/test_button.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ async def mock_refresh():
200200

201201
# Verify logger was called with masked serial number
202202
mock_logger.debug.assert_called_once_with(
203-
"Netro: refresh button pressed for %s", "CT********23"
203+
"Netro: refresh button pressed for %s", "CT***23"
204204
)
205205

206206
# Verify coordinator refresh was requested

0 commit comments

Comments
 (0)