Skip to content

Commit

Permalink
passed get global stp priority test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kanza-latif committed Jan 1, 2025
1 parent 58b7584 commit 83a2ed4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_config_stp.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ def test_get_global_stp_priority():

result = get_global_stp_priority(mock_db)

assert result == 32768
# Compare the result as a string
assert result == "32768" # Updated to match the string type returned by the function

mock_db.get_entry.assert_called_once_with("STP", "GLOBAL")


Expand Down

0 comments on commit 83a2ed4

Please sign in to comment.