Changeset 6704


Ignore:
Timestamp:
Apr 2, 2009, 6:09:39 PM (16 years ago)
Author:
ole
Message:

Incorporated test of caching properly into validation suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/okushiri_tank_validation/validate_okushiri.py

    r5183 r6704  
    4242        assert res == 0
    4343
     44
     45    def test_caching_of_set_quantity(self):
     46        """Test that caching of set_quantity works
     47        """
     48
     49        s = 'test_caching_of_set_quantity.py'
     50        res = os.system('python %s > test_caching_of_set_quantity.stdout' %s)
     51        assert res == 0
     52
     53       
     54
    4455    def manual_test_that_output_is_as_expected(self):
    4556        from run_okushiri import main
     
    6576#-------------------------------------------------------------
    6677if __name__ == "__main__":
    67     suite = unittest.makeSuite(Test_Okushiri,'test')
     78    suite = unittest.makeSuite(Test_Okushiri, 'test')
    6879    runner = unittest.TextTestRunner(verbosity=2)
    6980    runner.run(suite)
Note: See TracChangeset for help on using the changeset viewer.