~vila/uci-engine/config

« back to all changes in this revision

Viewing changes to tests/test_runner/test.py

  • Committer: Vincent Ladeuil
  • Date: 2014-04-10 19:09:02 UTC
  • mfrom: (239.1.187 uci-engine)
  • Revision ID: vila+ci@canonical.com-20140410190902-0zwky6u3aqtjrhrd
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
                             'image_id': image_id,
27
27
                             'package_list': package_list,
28
28
                             'progress_trigger': progress_trigger,
 
29
                             'cancel_url': 'http://bar.baz/cancel',
29
30
                             }),
30
31
        )
31
32
        return resp, content
36
37
        self.assertEqual('204', resp['status'])
37
38
        self.assertEqual('', content)
38
39
 
 
40
    def test_worker_running(self):
 
41
        '''Ensure the rabbit worker is deployed and running.'''
 
42
        self.assert_job_running('tr_rabbit_worker', 'tr-rabbit-worker')
 
43
 
39
44
 
40
45
if __name__ == "__main__":
41
46
    unittest.main()