Changeset 3239


Ignore:
Timestamp:
Nov 13, 2010 3:24:14 AM (10 years ago)
Author:
wehart
Message:

Update to tests to account for changes in OS.

Location:
coopr.opt/trunk/coopr/opt
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • coopr.opt/trunk/coopr/opt/__init__.py

    r2715 r3239  
    1717import solver
    1818import reader
    19 #import testing
    2019from parallel import *
    2120
     
    3130    for entrypoint in pkg_resources.iter_entry_points('coopr.opt'):
    3231        plugin_class = entrypoint.load()
    33 except:
    34     pass
     32except Exception, err:
     33    print "Error loading coopr.opt entry points:",str(err)
    3534
  • coopr.opt/trunk/coopr/opt/tests/base/test_factory.py

    r3238 r3239  
    140140        ans = coopr.opt.ReaderFactory("none")
    141141        self.failUnlessEqual(ans, None)
    142         #ans = coopr.opt.ReaderFactory("osrl")
    143         #self.failUnlessEqual(type(ans), coopr.opt.reader.OS.ResultsReader_osrl)
     142        ans = coopr.opt.ReaderFactory("sol")
     143        self.failUnlessEqual(type(ans), coopr.opt.reader.sol.ResultsReader_sol)
    144144        #ans = coopr.opt.ReaderFactory("osrl", "myreader")
    145145        #self.failUnlessEqual(type(ans), coopr.opt.reader.OS.ResultsReader_osrl)
Note: See TracChangeset for help on using the changeset viewer.