Changeset 3521
- Timestamp:
- Aug 22, 2006, 10:24:17 AM (18 years ago)
- Location:
- tools/demos
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/demos/test_flood_database.py
r3517 r3521 12 12 """ 13 13 14 external = True 15 14 16 15 17 import urllib … … 17 19 #from caching import cache 18 20 19 base_url = 'http://www.ga.gov.au/oracle/flood/' 20 servlet_base_url = 'http://www.ga.gov.au/' 21 if external is True: 22 base_url = 'http://www-b.ga.gov.au/oracle/flood/' 23 servlet_base_url = 'http://www-b.ga.gov.au/' 24 else: 25 base_url = 'http://www.ga.gov.au/oracle/flood/' 26 servlet_base_url = 'http://www.ga.gov.au/' 27 21 28 22 29 def test_site(): … … 147 154 148 155 test_site() 149 test_database('flood_studies_all.html')150 156 151 157 158 if external is True: 159 test_database('flood_studies_all_b.html') 160 else: 161 test_database('flood_studies_all.html') 152 162
Note: See TracChangeset
for help on using the changeset viewer.