Ignore:
Timestamp:
Oct 10, 2005, 4:32:26 PM (19 years ago)
Author:
duncan
Message:

added test for checking exit status when using least_squares.py in the command line.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/test_least_squares.py

    r1882 r1888  
    15411541        os.remove(mesh_file)
    15421542        os.remove(point_file)
     1543 
     1544    def test_fit_to_mesh_file_errorsIV(self):
     1545        import os
     1546        status = os.system('python least_squares.py q q q e n 0.9 n')
     1547        self.failUnless(status  == 1,
     1548                        'command prompt least_squares.py failed.  Incorect exit status.')
    15431549       
    15441550    def test_fit_to_msh_netcdf_fileII(self):
Note: See TracChangeset for help on using the changeset viewer.