~andrewjbeach/juju-ci-tools/get-juju-dict

« back to all changes in this revision

Viewing changes to tests/test_assess_mixed_images.py

  • Committer: Aaron Bentley
  • Date: 2016-09-20 18:03:54 UTC
  • mfrom: (1575.2.14 soft-timeouts-6)
  • Revision ID: aaron.bentley@canonical.com-20160920180354-7c7o5evlpoabrz9y
Add --timeout to most test scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
            keep_env=False,
41
41
            machine=[],
42
42
            region=None,
 
43
            deadline=None,
43
44
            ), args)
44
45
 
45
46
    def test_image_metadata_url(self):
71
72
                               autospec=True) as mock_assess:
72
73
                        main(argv)
73
74
        mock_cl.assert_called_once_with(logging.DEBUG)
74
 
        mock_c.assert_called_once_with('an-env', "/bin/juju", debug=False)
 
75
        mock_c.assert_called_once_with('an-env', "/bin/juju", debug=False,
 
76
                                       soft_deadline=None)
75
77
        self.assertEqual(mock_bc.call_count, 1)
76
78
        mock_assess.assert_called_once_with(client)
77
79