Пример #1
0
 def test_requests_delete_method_raises_exception(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('delete', data={})
Пример #2
0
 def test_block_socket_access(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('get')
Пример #3
0
 def test_requests_get_method_raises_exception(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('get')