Ignore:
Timestamp:
Jan 29, 2010 7:38:14 PM (10 years ago)
Author:
wehart
Message:

Update to Coopr to account for changes in PyUtilib? package names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.opt/trunk/coopr/opt/tests/base/test_factory.py

    r1938 r2201  
    1616import coopr
    1717import pyutilib.services
    18 import pyutilib.plugin.core
     18import pyutilib.component.core
    1919
    2020
     
    8686        Testing methods in the solverwriter factory registration process
    8787        """
    88         ep = pyutilib.plugin.core.ExtensionPoint(coopr.opt.ISolverRegistration)
     88        ep = pyutilib.component.core.ExtensionPoint(coopr.opt.ISolverRegistration)
    8989        service = ep.service("stest")
    9090        self.failUnlessEqual(service.type(), "stest")
     
    116116        Testing methods in the writer factory registration process
    117117        """
    118         ep = pyutilib.plugin.core.ExtensionPoint(coopr.opt.IWriterRegistration)
     118        ep = pyutilib.component.core.ExtensionPoint(coopr.opt.IWriterRegistration)
    119119        service = ep.service("wtest")
    120120        self.failUnlessEqual(service.type(), "wtest")
     
    145145        Testing methods in the reader factory registration process
    146146        """
    147         ep = pyutilib.plugin.core.ExtensionPoint(coopr.opt.IReaderRegistration)
     147        ep = pyutilib.component.core.ExtensionPoint(coopr.opt.IReaderRegistration)
    148148        service = ep.service("rtest")
    149149        self.failUnlessEqual(service.type(), "rtest")
Note: See TracChangeset for help on using the changeset viewer.