Changeset 282
- Timestamp:
- 04/02/15 14:44:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CCCC/trunk/ceda_cc/unitTestsS2.py
r281 r282 42 42 print 'Failed [%s] %s: valid file name' % (module,fn) 43 43 44 if sys.version_info > (2,6):44 if sys.version_info >= (2,7): 45 45 ## monitoting file handles uses a "subprocess" method which is not available in python 2.6 46 46 testId = '#11.001' … … 52 52 raise baseException( 'Failed [%s]: dummy run triggered exception' % testId ) 53 53 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 ) 59 59 60 60 testId = '#11.003'
Note: See TracChangeset
for help on using the changeset viewer.