Example #1
0
#!/usr/bin/python

from saliweb import web_service

results = web_service.run_job('http://modbase.compbio.ucsf.edu/modfoo/job',
                              ['[email protected]', 'job_name=testjob'])
 def test_run_job(self):
     """Test run_job()"""
     urls = web_service.run_job('http://longsubmit/', ['foo=bar'])
     self.assertEqual(urls, [u'http://results1/', u'http://results2/'])
Example #3
0
 def test_run_job(self):
     """Test run_job()"""
     urls = web_service.run_job('http://longsubmit/', ['foo=bar'])
     self.assertEqual(urls, [u'http://results1/', u'http://results2/'])