Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGuarnaccia5 committed Jun 24, 2024
1 parent 909b6f9 commit 1334f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/maintenance/test_maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def test_get_scheduled_maintenance_state_invalid_file():
"""
Test returning scheduled maintenance state schema when file is invalid
"""
mock_scheduled_maintenance_data = {"show": "True", "message": "This is a test message"}
mock_scheduled_maintenance_data = {"show": None, "message": "This is a test message"}
mock_scheduled_maintenance_file = json.dumps(mock_scheduled_maintenance_data)

with (
Expand Down

0 comments on commit 1334f7e

Please sign in to comment.