'verify that the start datetime for a ccx is correctly retrieved
Note that after setting the start field override microseconds are
truncated, so we can\'t do a direct comparison between before and after.
For this reason we test the difference between and make sure it is less
than one second.'

def test_ccx_start_is_correct(self):

    expected = datetime.now(utc)
    self.set_ccx_override('start', expected)
    actual = self.ccx.start
    diff = (expected - actual)
    self.assertLess(abs(diff.total_seconds()), 1)
