Refactor patching of query
Refactor patching of query

The patched query function is moved to mocked_query property of DNSBLServiceTest
class, and code responsible for patching is moved to setUpClass and tearDownClass
methods

piotr-rusin/spam-lists