~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to tests/test_timeout.py

  • Committer: Aaron Bentley
  • Date: 2016-03-01 21:23:25 UTC
  • mto: This revision was merged to the branch mainline in revision 1305.
  • Revision ID: aaron.bentley@canonical.com-20160301212325-ogp6t6l979xvbxq6
Use revision-build for parallel streams.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
            sleep_mock.mock_calls, [call(0.1), call(0.1)])
82
82
 
83
83
    def test_duration_elapsed(self):
84
 
        start = datetime.datetime(2015, 1, 1)
 
84
        start = datetime.datetime(2015, 01, 01)
85
85
        middle = start + datetime.timedelta(seconds=57.4)
86
86
        end = start + datetime.timedelta(seconds=57.6)
87
87
        with self.patch_po() as (po_mock, poll_mock, sleep_mock):