ashb commented on a change in pull request #4225: [AIRFLOW-3383] Rotate fernet keys. URL: https://github.com/apache/airflow/pull/4225#discussion_r249108075
########## File path: tests/models.py ########## @@ -2991,27 +2993,118 @@ def test_xcom_get_many(self): self.assertEqual(result.value, json_obj) +class VariableTest(unittest.TestCase): + def setUp(self): + models.clear_fernet() Review comment: Does this need to be a function, or can we just do `models._fernet = None`? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services