From bd60c48a81e3e329296ac50789977664ece449c6 Mon Sep 17 00:00:00 2001 From: dtrai2 Date: Mon, 9 Dec 2024 13:49:33 +0100 Subject: [PATCH] put domain test in separate class --- tests/unit/util/test_url.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/util/test_url.py b/tests/unit/util/test_url.py index c5c501784..8d12332df 100644 --- a/tests/unit/util/test_url.py +++ b/tests/unit/util/test_url.py @@ -74,6 +74,9 @@ def test_extract_urls_with_large_domain_label(self): domain_label = "a" * 64 assert extract_urls(f"http://www.{domain_label}.com") == [] + +class TestDomain: + @pytest.mark.parametrize( "domain, expected_subdomain, expected_domain, expected_suffix, expected_fqdn", [