def METHOD_NAME(self):
    form = FormFactory(deactivate_on="2023-10-19T21:15:00Z")
    deactivate_forms()
    form.refresh_from_db()
    self.assertTrue(form.active)
    self.assertIsNotNone(form.deactivate_on)