Changeset 7653


Ignore:
Timestamp:
Mar 3, 2010, 5:21:17 PM (14 years ago)
Author:
ole
Message:

Started a proper unit test framework for Patong

Location:
anuga_validation/automated_validation_tests
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/automated_validation_tests/patong_beach_validation/project.py

    r7651 r7653  
    3636
    3737use_buildings = True
    38 setup = 'trial'         # This can be one of three values
     38setup = 'basic'         # This can be one of three values
    3939                        #    trial - coarsest mesh, fast
    4040                        #    basic - coarse mesh
  • anuga_validation/automated_validation_tests/patong_beach_validation/validate.py

    r7651 r7653  
    444444    start_time = time.time()
    445445
    446     (_, vtype, _) = odo.rsplit('.', 2)
     446    _, vtype, _ = odo.rsplit('.', 2)
    447447    vtype = vtype.lower()
    448448    log.critical('#' * 72)
     
    450450    if run_simulation(vtype, odo):
    451451        # get SWW names expected and valid, check 'equal'
    452         (valid_sww, _) = odo.rsplit('.', 1)
    453         (expected_sww, _) = valid_sww.rsplit('.', 1)
     452        valid_sww, _ = odo.rsplit('.', 1)
     453        expected_sww, _ = valid_sww.rsplit('.', 1)
    454454        check_that_output_is_as_expected(expected_sww, valid_sww, epsilon[odo])
    455455
  • anuga_validation/automated_validation_tests/urs_mux_files_validation/validate_Bf.py

    r4842 r7653  
    4949#-------------------------------------------------------------
    5050if __name__ == "__main__":
    51     suite = unittest.makeSuite(Test_Bf,'test')
     51    suite = unittest.makeSuite(Test_Bf, 'test')
    5252    runner = unittest.TextTestRunner(verbosity=2)
    5353    runner.run(suite)
Note: See TracChangeset for help on using the changeset viewer.