mik-laj commented on a change in pull request #8535:
URL: https://github.com/apache/airflow/pull/8535#discussion_r415205019



##########
File path: tests/cli/commands/test_variable_command.py
##########
@@ -31,58 +32,15 @@ def setUpClass(cls):
         cls.dagbag = models.DagBag(include_examples=True)
         cls.parser = cli_parser.get_parser()
 

Review comment:
       ```suggestion
   
       def setUp(self):
           clear_db_variables()
   
       def tearDown(self):
           clear_db_variables()
   
   ```
   This will allow us to maintain isolation between tests and reduce side 
effects.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to