def recreate(self): db.db_drop() db.db_create() envutils.clear_env()
def test_clear_env(self, mock_file, mock_file_status): envutils.clear_env() self.assertEqual(os.environ, {})
def test_clear_env(self, mock_file, mock_file_status): mock_file_status.return_value = True envutils.clear_env() self.assertEqual(os.environ, {})