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

Started a proper unit test framework for Patong

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.