'Verify that setting the expiration_date property sets the explicit flag.'

def test_expiration_datetime_explicitly_set(self):

    (verified_mode, __) = self.create_mode('verified', 'Verified    Certificate', 10)
    now = datetime.now()
    verified_mode.expiration_datetime = now
    self.assertTrue(verified_mode.expiration_datetime_is_explicit)
    self.assertEqual(verified_mode.expiration_datetime, now)
