Ignore:
Timestamp:
18/02/09 11:33:18 (11 years ago)
Author:
cbyrom
Message:

Move generic 'httpify' method to utilities + adjust utilities method
to retrive default proxy to cope with standard formatting + set this
up on each call to urlopen - since different urls may use different
proxies + tidyup and extend test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/unittests/testconstants.py

    r4977 r4991  
    3939TEST_FILE_PATH = TEST_COLLECTION_PATH + '/' + TEST_FILE_NAME 
    4040 
    41 EXIST_DB = 'chinook.badc.rl.ac.uk'#'localhost' 
     41EXIST_DB = 'localhost'#'chinook.badc.rl.ac.uk' 
    4242PG_DBCONFIG_FILE = TEST_DATA_DIR + 'pg.config' 
    4343EXIST_DBCONFIG_FILE = TEST_DATA_DIR + 'exist.config' 
     
    7171VALID_RETRIEVE_URL = 'http://ndgbeta.badc.rl.ac.uk/retrieve/' + VALID_NDG_URL 
    7272INVALID_URL = 'http://invalid.blah.com' 
     73VALID_URL = 'http://www.google.co.uk' 
    7374VALID_DISCOVERY_URL2 = 'http://ndgbeta.badc.rl.ac.uk/view/badc.nerc.ac.uk__ATOM__famous_control_month_test_file' 
    7475 
Note: See TracChangeset for help on using the changeset viewer.