Ignore:
Timestamp:
04/02/08 18:20:38 (12 years ago)
Author:
mkochan
Message:

Finished the testPointSeriesConvertor.py test script. Have running version of configurable PointSeriesConvertor? module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/csml2kml/python/csml2kml/tests/testPointSeriesConvertor.py

    r3303 r3306  
    1 import PointSeriesConvertor 
     1from PointSeriesConvertor import PointSeriesConvertor 
    22from cElementTree import ElementTree 
    33 
    44# Load the configuration XML element 
    55configTree = ElementTree() 
    6 configTree.parse('../../testdata/midas.csml2kml.conf.xml') 
     6configTree.parse('../../../testdata/midas.csml2kml.conf.xml') 
    77configRoot = configTree.getroot() 
    8 config = configRoot.find('CSML2KMLConfig/CSMLStationPointSeries') 
     8config = configRoot.find('CSMLStationPointSeries') 
    99 
    1010# Do the conversion 
    11 convertor = PointSeriesConvertor(config, '../../output/exampleps.3.xml') 
     11convertor = PointSeriesConvertor(config, '../../../output/exampleps_stations.2.xml') 
     12convertor.convert() 
Note: See TracChangeset for help on using the changeset viewer.