From 92e7d95815d52c2779c0b3e6a0ab4ce1a0987540 Mon Sep 17 00:00:00 2001 From: Alyssa Dai Date: Mon, 20 Nov 2023 13:32:29 -0500 Subject: [PATCH] add test case for query node URL list with duplicates --- tests/test_utility.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_utility.py b/tests/test_utility.py index 01fd32a..9a713dc 100644 --- a/tests/test_utility.py +++ b/tests/test_utility.py @@ -104,6 +104,14 @@ def test_check_nodes_are_recognized( ["", "https://secondknownnode.org"], ["https://secondknownnode.org/"], ), + ( + [ + "https://secondknownnode.org/", + "https://firstknownnode.org", + "https://secondknownnode.org/", + ], + ["https://secondknownnode.org/", "https://firstknownnode.org/"], + ), ([], ["https://firstknownnode.org/", "https://secondknownnode.org/"]), ], )