[socket] Rename the filter test so pytest collection stays unique

The bare test_init module name collided with the external components test; the both defines case now also checks the resolver stays in the build.
This commit is contained in:
J. Nick Koston
2026-10-02 06:49:15 -05:00
parent 9e9d8646a7
commit 10ab94e198
@@ -23,7 +23,9 @@ def test_helper_files_filtered_until_required() -> None:
Define("USE_SOCKET_IPV4_RESOLVE"),
Define("USE_SOCKET_TCP_CLIENT_LINK"),
}
assert "tcp_client_link.cpp" not in socket.FILTER_SOURCE_FILES()
filtered = socket.FILTER_SOURCE_FILES()
assert "ipv4_resolve.cpp" not in filtered
assert "tcp_client_link.cpp" not in filtered
def test_require_tcp_client_link_pulls_in_the_resolver() -> None: