Changeset e89bb46 in sasview for test


Ignore:
Timestamp:
Jun 20, 2012 11:25:19 AM (12 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
c4f79f0
Parents:
20efe7b
Message:

Consolidate duplicated tests and protect against missing deps.

Location:
test
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • test/utest_sansview.py

    rd7b49576 re89bb46  
    99    print "Try easy_install unittest-xml-reporting" 
    1010 
     11# Check whether we have matplotlib installed 
     12HAS_MPL = True 
     13try: 
     14    import matplotlib 
     15except: 
     16    HAS_MPL = False 
     17 
    1118SKIPPED_DIRS = ["sansrealspace", "calculatorview"] 
     19if not HAS_MPL: 
     20    SKIPPED_DIRS.append("sansguiframe") 
     21 
    1222SANSVIEW_DIR = os.pardir 
    1323COMMAND_SEP = ';' 
Note: See TracChangeset for help on using the changeset viewer.