Skip to content

Commit

Permalink
fix: Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Jul 18, 2023
1 parent c7a2ed2 commit 36478d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_sgp30.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_create_sensor(self, mock_sgp30):
@patch("breakoutgardenexporter.sgp30.SGP30")
def test_missing_sensor(self, mock_sgp30):
instance = Mock()
mock_sgp30.side_effect = RuntimeError
mock_sgp30.side_effect = OSError

metrics = Metrics()
sensor = SGP30Sensor()
Expand Down

0 comments on commit 36478d5

Please sign in to comment.