Changeset 2429


Ignore:
Timestamp:
Mar 12, 2010 1:38:11 AM (9 years ago)
Author:
wehart
Message:

Reworking class decorators.

Location:
coopr.plugins/trunk/coopr/plugins/tests/mip
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_asl.py

    r2421 r2429  
    154154
    155155
    156 @unittest.skipIf(not cplexamp_available, "The 'cplexamp' command is not available")
    157156class mip_all(mock_all):
    158157
     
    160159        self.do_setup(True)
    161160
     161mip_all = unittest.skipIf(not cplexamp_available, "The 'cplexamp' command is not available")(mip_all)
    162162
    163163if __name__ == "__main__":
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_cbc.py

    r2421 r2429  
    155155
    156156
    157 @unittest.skipIf(not cbc_available, "The 'cbc' command is not available")
    158157class mip_all(mock_all):
    159158
     
    169168        #os.remove(currdir+"test_solve1a.soln")
    170169
     170mip_all = unittest.skipIf(not cbc_available, "The 'cbc' command is not available")(mip_all)
    171171
    172172if __name__ == "__main__":
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_cplex.py

    r2421 r2429  
    153153
    154154
    155 @unittest.skipIf(not cplex_available, "The CPLEX solver is not available")
    156155class mip_all(mock_all):
    157156
     
    159158        self.do_setup(True)
    160159
     160mip_all = unittest.skipIf(not cplex_available, "The CPLEX solver is not available")(mip_all)
    161161
    162162if __name__ == "__main__":
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_glpk.py

    r2421 r2429  
    164164
    165165
    166 @unittest.skipIf(not glpk_available, "The 'glpsol' command is not available")
    167166class mip_all(mock_all):
    168167
     
    180179            os.remove(currdir+"glpk.soln")
    181180
     181mip_all = unittest.skipIf(not glpk_available, "The 'glpsol' command is not available")(mip_all)
    182182
    183183if __name__ == "__main__":
  • coopr.plugins/trunk/coopr/plugins/tests/mip/test_pico.py

    r2421 r2429  
    153153
    154154
    155 @unittest.skipIf(not pico_available, "The PICO solver is not available")
    156155class mip_all(mock_all):
    157156
     
    159158        self.do_setup(True)
    160159
     160mip_all = unittest.skipIf(not pico_available, "The PICO solver is not available")(mip_all)
    161161
    162162if __name__ == "__main__":
Note: See TracChangeset for help on using the changeset viewer.