Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
yejianquan committed Dec 17, 2024
1 parent 95e1901 commit ab28f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_rfc2737.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
sys.path.insert(0, os.path.join(modules_path, 'src'))


class TestPhysicalSensorTableMIBUpdater(TestCase):
class TestPhysicalTableMIBUpdater(TestCase):

@mock.patch('sonic_ax_impl.mibs.ietf.rfc2737.PsuCacheUpdater.reinit_data', side_effect=Exception('mocked error'))
def test_PhysicalSensorTableMIBUpdater_transceiver_info_key_missing(self):
def test_PhysicalTableMIBUpdater_exception_in_reinit_data_wont_block_reinit_iteration(self):
updater = PhysicalTableMIBUpdater()

with mock.patch('sonic_ax_impl.mibs.ietf.rfc2737.ThermalCacheUpdater.reinit_data') as mocked_reinit_data:
Expand Down

0 comments on commit ab28f80

Please sign in to comment.