Ignore:
Timestamp:
Jan 31, 2015, 11:47:13 PM (10 years ago)
Author:
steve
Message:

Changed test folders to tests and added testers to all the sub packages so that
you can do something like anuga.file.test()

Location:
trunk/anuga_core/source/anuga/file/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file/tests/test_csv.py

    r9551 r9566  
    229229       
    230230        path = get_pathname_from_package('anuga.shallow_water')               
    231         testfile = os.path.join(path, 'test', 'data', 'polygon_values_example.csv')               
     231        testfile = os.path.join(path, 'tests', 'data', 'polygon_values_example.csv')               
    232232
    233233        polygons, values = load_csv_as_polygons(testfile,
     
    306306       
    307307        path = get_pathname_from_package('anuga.shallow_water')               
    308         testfile = os.path.join(path, 'test', 'data', 'polygon_values_example.csv')               
     308        testfile = os.path.join(path, 'tests', 'data', 'polygon_values_example.csv')               
    309309
    310310        polygons, values = load_csv_as_polygons(testfile,
     
    386386       
    387387        path = get_pathname_from_package('anuga.shallow_water')               
    388         testfile = os.path.join(path, 'test', 'data', 'polygon_values_example.csv')               
     388        testfile = os.path.join(path, 'tests', 'data', 'polygon_values_example.csv')               
    389389
    390390        polygons, values = load_csv_as_building_polygons(testfile,
  • trunk/anuga_core/source/anuga/file/tests/test_urs.py

    r9490 r9566  
    7474       
    7575   
    76     def dave_test_URS_points_needed(self):
     76    def in_development_URS_points_needed(self):
    7777        ll_lat = -21.51667
    7878        ll_long = 114.51667
     
    8989                                  verbose=self.verbose)
    9090       
    91     def X_test_URS_points_neededII(self):
    92         ll_lat = -21.5
    93         ll_long = 114.5
    94         grid_spacing = 1./60.
    95         lat_amount = 30
    96         long_amount = 30
    97 
    98         # change this so lats and longs are inputed, then converted
    99        
    100         #boundary_polygon = [[7660000,250000],[7660000,280000],
    101         #                     [7630000,280000],[7630000,250000]]
    102         calculate_boundary_points(boundary_polygon, ll_lat, ll_long,
    103                           grid_spacing,
    104                           lat_amount, long_amount,
    105                           verbose=self.verbose)
    10691       
    10792    def test_URS_points_northern_hemisphere(self):
     
    167152                assert False
    168153
    169     def covered_in_other_tests_test_URS_points_needed_poly1(self):
     154    def in_development_URS_points_needed_poly1(self):
    170155        # Values used for FESA 2007 results
    171156        # domain in southern hemisphere zone 51       
     
    194179
    195180
    196     def covered_in_other_tests_test_URS_points_needed_poly2(self):
     181    def in_development_URS_points_needed_poly2(self):
    197182        # Values used for 2004 validation work
    198183        # domain in northern hemisphere zone 47       
Note: See TracChangeset for help on using the changeset viewer.