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

« back to all changes in this revision

Viewing changes to tests/test_assess_update_mongo.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:
52
52
                               autospec=True) as mock_assess:
53
53
                        main(argv)
54
54
        mock_cl.assert_called_once_with(logging.DEBUG)
55
 
        mock_c.assert_called_once_with('an-env', "/bin/juju", debug=False)
 
55
        mock_c.assert_called_once_with('an-env', "/bin/juju", debug=False,
 
56
                                       soft_deadline=None)
56
57
        self.assertEqual(mock_bc.call_count, 1)
57
58
        mock_assess.assert_called_once_with(client, 'trusty', '10.0.0.2')
58
59