![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /lib/python2.7/site-packages/ndg/httpsclient/test/ |
� �:Oc @ s� d Z d Z d Z d Z d Z d Z d Z d d l m Z d d l Z d d l m Z d d l m Z d d l m Z d e j f d � � YZ e d k r� e j � n d S( s� unit tests module for ndg.httpsclient.urllib2_build_opener module PyOpenSSL utility to make a httplib-like interface suitable for use with urllib2 s P J Kershaw (STFC)s 06/01/12s2 (C) 2012 Science and Technology Facilities Councils- BSD - see LICENSE file in top-level directorys Philip.Kershaw@stfc.ac.uks $Id$i����( t URLErrorN( t SSL( t Constants( t build_openert Urllib2TestCasec B s2 e Z d Z d � Z d � Z d � Z d � Z RS( s$ Unit tests for urllib2 functionalityc C s t � } | j | � d S( N( R t assert_( t selft opener( ( sE /usr/lib/python2.7/site-packages/ndg/httpsclient/test/test_urllib2.pyt test01_urllib2_build_opener s c C s; t � } | j t j � } | j | � d | j � GHd S( Ns res = %s( R t openR t TEST_URIR t read( R R t res( ( sE /usr/lib/python2.7/site-packages/ndg/httpsclient/test/test_urllib2.pyt test02_open s c C s&