We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd27a6 commit 304c48bCopy full SHA for 304c48b
tests/test_data_extractor.py
@@ -94,3 +94,16 @@ def test_amend_domain_values(self):
94
}
95
]
96
assert data_extractor.amend_domain_values() == expected
97
+
98
+ def test_amend_domain_values_retains_original_if_prefix_matching(self):
99
+ test_data = [
100
+ {
101
+ 'name': 'Google',
102
+ 'url': 'https://www.google.co.uk',
103
+ 'domain': 'www.google.co.uk',
104
+ 'secure': True,
105
+ 'value': 5
106
+ }
107
+ ]
108
+ _data_extractor = DataExtractor(test_data)
109
+ assert _data_extractor.amend_domain_values() == test_data
0 commit comments