Changeset 3244


Ignore:
Timestamp:
Nov 13, 2010 12:44:26 PM (10 years ago)
Author:
wehart
Message:

Skipping OSiL writer when not defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.pyomo/trunk/coopr/pyomo/tests/unit/test_model.py

    r2749 r3244  
    9292
    9393    def test_write_osil1 ( self ):
     94        if not 'osil' in coopr.opt.WriterFactory().services():
     95            self.skip('No OSiL writer is available.')
    9496        base = '%s/test_write_osil1' % currdir
    9597        fout, fbase = (base + '.out', base + '.txt')
Note: See TracChangeset for help on using the changeset viewer.