mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-06 22:19:01 +00:00
Fixed bug with ignore403 for engine-based sites
This commit is contained in:
@@ -26,6 +26,13 @@ def test_case_convert_snake_to_title():
|
||||
assert b == 'Camel cased string'
|
||||
|
||||
|
||||
def test_case_convert_camel_with_digits_to_snake():
|
||||
a = 'ignore403'
|
||||
b = CaseConverter.camel_to_snake(a)
|
||||
|
||||
assert b == 'ignore403'
|
||||
|
||||
|
||||
def test_is_country_tag():
|
||||
assert is_country_tag('ru') == True
|
||||
assert is_country_tag('FR') == True
|
||||
|
||||
Reference in New Issue
Block a user