Skip to content

Commit 2c972a9

Browse files
committed
fix: update source_id in duplicate item name test to private address, to address SonarQube feedback, and remove stale line
1 parent a714424 commit 2c972a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_omnilogic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def test__check_duplicate_item_names_different_host() -> None:
4242
]
4343
warning = _check_duplicate_item_names(
4444
items,
45-
source_id="10.0.0.1:3000",
45+
source_id="127.0.0.2:3000",
4646
)
4747

4848
assert warning is not None
49-
assert "OmniLogic 10.0.0.1:3000 contains multiple items with the same name:" in warning
49+
assert "OmniLogic 127.0.0.2:3000 contains multiple items with the same name:" in warning
5050

5151

5252
def test__check_duplicate_item_names_no_duplicates() -> None:

0 commit comments

Comments
 (0)