Skip to content

Commit b122bee

Browse files
committed
-Cleanup
1 parent 0a9dd31 commit b122bee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/config/test_search.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def test_search_config_validate_invalid_locale(keywords, province_or_state, loca
8888
with pytest.raises(AssertionError, match="Locale not set"):
8989
cfg.validate()
9090

91+
9192
@pytest.mark.parametrize('keywords, province_or_state, locale, providers, in_city',
9293
[(['Ice Cream', 'Spiderman'], 'Texas', Locale.USA_ENGLISH, [],
9394
'Austin')])
@@ -97,6 +98,7 @@ def test_search_config_validate_invalid_providers(keywords, province_or_state, l
9798
with pytest.raises(AssertionError, match="Providers not set"):
9899
cfg.validate()
99100

101+
100102
@pytest.mark.parametrize('keywords, province_or_state, locale, providers, in_city',
101103
[([], 'Texas', Locale.USA_ENGLISH, [enums.Provider.INDEED], 'Austin')])
102104
def test_search_config_validate_invalid_keywords(keywords, province_or_state, locale, providers, in_city):
@@ -105,6 +107,7 @@ def test_search_config_validate_invalid_keywords(keywords, province_or_state, lo
105107
with pytest.raises(AssertionError, match='Keywords not set'):
106108
cfg.validate()
107109

110+
108111
@pytest.mark.parametrize('keywords, province_or_state, locale, providers, in_city, in_max_listing_days',
109112
[(['Ice Cream', 'Spiderman'], Locale.USA_ENGLISH, Locale.USA_ENGLISH, [enums.Provider.INDEED],
110113
'Austin', -1)])
@@ -127,6 +130,7 @@ def test_search_config_validate_domain(keywords, province_or_state, locale, prov
127130
with pytest.raises(AssertionError, match="Domain not set"):
128131
cfg.validate()
129132

133+
130134
@pytest.mark.parametrize('keywords, province_or_state, locale, providers, in_city, in_remoteness',
131135
[(['Ice Cream', 'Spiderman'], 'Texas', Locale.USA_ENGLISH, [enums.Provider.INDEED], 'Austin',
132136
Remoteness.UNKNOWN)])

0 commit comments

Comments
 (0)