Changeset 282


Ignore:
Timestamp:
04/02/15 14:44:34 (5 years ago)
Author:
astephen
Message:

further cleaning of unitTestsS2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CCCC/trunk/ceda_cc/unitTestsS2.py

    r281 r282  
    4242  print 'Failed [%s] %s: valid file name' % (module,fn) 
    4343 
    44 if sys.version_info > (2,6): 
     44if sys.version_info >= (2,7): 
    4545  ## monitoting file handles uses a "subprocess" method which is not available in python 2.6 
    4646  testId = '#11.001' 
     
    5252    raise baseException( 'Failed [%s]: dummy run triggered exception' % testId ) 
    5353 
    54 testId = '#11.002' 
    55 if m.monitor.fhCountMax < 10: 
    56   print 'OK: [%s]: fhCountMax = %s' % ( testId, m.monitor.fhCountMax ) 
    57 else: 
    58   print 'Failed [%s]: fhCountMax = %s' % ( testId, m.monitor.fhCountMax ) 
     54  testId = '#11.002' 
     55  if m.monitor.fhCountMax < 10: 
     56    print 'OK: [%s]: fhCountMax = %s' % ( testId, m.monitor.fhCountMax ) 
     57  else: 
     58    print 'Failed [%s]: fhCountMax = %s' % ( testId, m.monitor.fhCountMax ) 
    5959 
    6060testId = '#11.003' 
Note: See TracChangeset for help on using the changeset viewer.