Changeset 87

Show
Ignore:
Timestamp:
12/05/06 08:30:47 (2 years ago)
Author:
t
Message:

added test for valid/invalid BLAST program

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cartwheel-server/tests2/functional-tests/test-with-user/test-xmlrpc-client.py

    r60 r87  
    6464 
    6565        pair = folder.add_pair_analysis_group("pairwise group", seq1, seq2) 
     66 
     67        "Add a few pairwise analyses." 
     68         
    6669        pair.add_seqcomp_analysis('seqcomp', 20, 0.7) 
     70        pair.add_blast_analysis('pair blast', 'blastn') 
     71 
     72        "Try adding a BLAST with an invalid BLAST program" 
     73         
     74        try: 
     75            pair.add_blast_analysis('pair blast', 'blast') 
     76            assert 0, "this should not succeed!" 
     77        except xmlrpclib.Fault: 
     78            pass