~ibmcharmers/charms/trusty/ibm-mobilefirst-server/trunk

« back to all changes in this revision

Viewing changes to tests/01-deploy.py

  • Committer: Suchitra Venugopal
  • Date: 2017-03-03 10:32:15 UTC
  • Revision ID: suchvenu@in.ibm.com-20170303103215-26ihfwfx9vucorr2
Review comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    tests to happen in the charms that use this layer (for example, websphere).
14
14
    """
15
15
    def setUp(self):
16
 
        self.d = amulet.Deployment(series='trusty')
17
 
        self.d.add('ibm-im', 'cs:~ibmcharmers/trusty/ibm-im')
 
16
        self.d = amulet.Deployment(series='xenial')
 
17
        self.d.add('ibm-im', 'cs:~ibmcharmers/xenial/ibm-im')
18
18
        self.d.setup(timeout=900)
19
19
        self.d.sentry.wait(timeout=1800)
20
20
 
25
25
        sentry_re = re.compile('ibm_im_installer resource')
26
26
        self.d.sentry.wait_for_messages({"ibm-im": sentry_re})
27
27
 
 
28
 
28
29
if __name__ == '__main__':
29
30
    unittest.main()