Skip to content

Commit 9c89a65

Browse files
committed
format whitespace
Signed-off-by: Lin Jin <[email protected]>
1 parent 1dea21c commit 9c89a65

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sonic-psud/tests/test_psud.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_wrapper_get_num_psus():
5959
psud.platform_psuutil = mock.MagicMock()
6060
psud._wrapper_get_num_psus(None)
6161
assert psud.platform_chassis.get_num_psus.call_count >= 1
62-
62+
6363
# Test when both providers are unavailable
6464
psud.platform_chassis = None
6565
psud.platform_psuutil = None
@@ -76,7 +76,7 @@ def test_wrapper_get_psu_presence():
7676
mock_logger = mock.MagicMock()
7777
mock_psu = mock.MagicMock()
7878
mock_psu.get_presence.return_value = True
79-
79+
8080
# Test new platform API is available and working
8181
psud.platform_chassis.get_psu.return_value = mock_psu
8282
result = psud._wrapper_get_psu_presence(mock_logger, 1)
@@ -178,7 +178,7 @@ def test_wrapper_get_psu_presence():
178178
def test_wrapper_get_psu():
179179
mock_logger = mock.MagicMock()
180180
mock_psu = mock.MagicMock()
181-
181+
182182
# Test new platform API is available and working
183183
psud.platform_chassis.get_psu.return_value = mock_psu
184184
result = psud._wrapper_get_psu(mock_logger, 1)
@@ -247,7 +247,7 @@ def test_wrapper_get_psu_status():
247247
mock_logger = mock.MagicMock()
248248
mock_psu = mock.MagicMock()
249249
mock_psu.get_powergood_status.return_value = True
250-
250+
251251
# Test new platform API is available and working
252252
psud.platform_chassis.get_psu.return_value = mock_psu
253253
result = psud._wrapper_get_psu_status(mock_logger, 1)
@@ -366,7 +366,7 @@ def test_log_on_status_changed():
366366
def test_get_psu_key():
367367
mock_psu = mock.MagicMock()
368368
mock_psu.get_name.return_value = "PSU-1"
369-
369+
370370
# Test platform_chassis is available and PSU get_name() works
371371
psud.platform_chassis.get_psu.return_value = mock_psu
372372
result = psud.get_psu_key(1)

0 commit comments

Comments
 (0)