Exemplo n.º 1
0
 def test_requests_delete_method_raises_exception(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('delete', data={})
Exemplo n.º 2
0
 def test_block_socket_access(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('get')
Exemplo n.º 3
0
 def test_requests_get_method_raises_exception(self):
     with self.assertRaises(InternetAccessBlockedException):
         make_request('get')