diff --git a/test/test_findspam.py b/test/test_findspam.py index 17fc5932a8..38af87d0f8 100644 --- a/test/test_findspam.py +++ b/test/test_findspam.py @@ -14,7 +14,7 @@ ('18669786819 gmail customer service number 1866978-6819 gmail support number', '', '', '', True, False, True), ('Is there any http://www.hindawi.com/ template for Cloud-Oriented Data Center Networking?', '', '', '', False, False, True), ('', '', 'bagprada', '', False, False, True), - ('12 Month Loans quick @ http://www.quick12monthpaydayloans.co.uk/Elimination of collateral pledging', '', '', '', False, False, True), + ('12 Month Loans quick @ http://www.quick12monthpaydayloans.example.co.uk/Elimination of collateral pledging', '', '', '', False, False, True), ('support for yahoo mail 18669786819 @call for helpline number', '', '', '', False, False, True), ('yahoo email tech support 1 866 978 6819 Yahoo Customer Phone Number ,Shortest Wait', '', '', '', False, False, True), ('kkkkkkkkkkkkkkkkkkkkkkkkkkkk', '

bbbbbbbbbbbbbbbbbbbbbb

', '', 'stackoverflow.com', False, False, True), @@ -37,7 +37,7 @@ ('hotmail customer <*<*<*[*[ 1 - 844-780-6762 *** support toll free number Hotmail Phone Number hotmail account recovery phone number', '', '', 'stackoverflow.com', False, False, True), ('1 - 844-780-6762 outlook phone number-outlook telephone number-outlook customer care helpline number', '', '', 'stackoverflow.com', False, False, True), ('Repeating word word word word word word word word word', '', '', 'stackoverflow.com', False, False, True), - ('Visit this website: optimalstackfacts.net', '', '', 'stackoverflow.com', False, False, True), + ('Visit this website: optimalstackfacts.example.net', '', '', 'stackoverflow.com', False, False, True), ('his email address is (SOMEONE@GMAIL.COM)', '', '', 'money.stackexchange.com', False, False, True), ('something', 'his email address is (SOMEONE@GMAIL.COM)', '', 'money.stackexchange.com', False, False, True), ('asdf asdf asdf asdf asdf asdf asdf asdf', '', '', 'stackoverflow.com', True, False, True), @@ -77,7 +77,7 @@ ('Title here', 'my image', '', 'stackoverflow.com', False, False, True), ('Title here', 'page', '', 'stackoverflow.com', False, False, False), ('Error: 2147467259', '', '', 'stackoverflow.com', False, False, False), - ('Max limit on number of concurrent ajax request', """

Php java script boring yaaarrr Price-Buy.com

""", 'Price Buy', 'stackoverflow.com', True, True, True), + ('Max limit on number of concurrent ajax request', """

Php java script boring yaaarrr Price-Buy.example.com

""", 'Price Buy', 'stackoverflow.com', True, True, True), ('Proof of onward travel in Japan?', """

The best solution to overcome the problem of your travelenter image description here

httl://bestonwardticket.com

""", 'Best onward Ticket', 'travel.stackexchange.com', True, True, True), @@ -99,7 +99,7 @@ ('Body starts with title', 'Body starts with title and ends with https://example.com', '', '', False, False, True), ('Body starts with title', 'Body starts with title and ends with https://example.com', '', '', False, True, False), ('Advanced BSWT', '

Product Name Advanced BSWT is a must-have https://example.com

', '', '', False, False, True), - ('IDNA misleading link', 'http://www.h\u00E5nd.no', '', '', False, False, False), + ('IDNA misleading link', 'http://h\u00E5nd.example.no', '', '', False, False, False), ('Mostly punctuation', ';[].[.[.&_$)_\\*&_@$.[;*/-!#*&)(_.\'].1\\)!#_', '', '', False, False, True), ('Few unique', 'asdss, dadasssaadadda, daaaadadsss, ssa,,,addadas,ss\nsdadadsssadadas, sss\ndaaasdddsaaa, asd', '', '', False, False, True), ('ketones on Chemistry', 'ketones', 'ketones', 'chemistry.stackexchange.com', False, False, False), diff --git a/test/test_spamhandling.py b/test/test_spamhandling.py index 7f64e27c46..faf3e1940d 100644 --- a/test/test_spamhandling.py +++ b/test/test_spamhandling.py @@ -127,7 +127,7 @@ def test_handle_spam_offensive_title(cls): ('18669786819 gmail customer service number 1866978-6819 gmail support number', '', '', '', True), ('Is there any http://www.hindawi.com/ template for Cloud-Oriented Data Center Networking?', '', '', '', True), ('', '', 'bagprada', '', True), - ('12 Month Loans quick @ https://www.quick12monthpaydayloans.co.uk/Elimination of collateral pledging', '', '', '', True), + ('12 Month Loans quick @ https://www.quick12monthpaydayloans.example.co.uk/Elimination of collateral pledging', '', '', '', True), ('support for yahoo mail 18669786819 @call for helpline number', '', '', '', True), ('yahoo email tech support 1 866 978 6819 Yahoo Customer Phone Number ,Shortest Wait', '', '', '', True), ('Not a phone number 192.168.0.1', 'Not a phone number 192.168.0.1', '', '', False),