Files
certbot-certbot/certbot/tests/conftest.py
T
Brad WarrenandGitHub 1bb09da270 Update and run isort (#9573)
I want to use isort as part of https://github.com/certbot/certbot/issues/9572 because I want to do it programmatically, however, I felt like the config needed to be tweaked a bit due to it not understanding what is and is not our own code.

This PR updates the isort config so it recognizes our own modules and runs `isort .` from the root of the repo to update everything.

* update isort config

* run "isort ."
2023-02-10 10:51:20 -08:00

9 lines
140 B
Python

import pytest
from certbot._internal import cli
@pytest.fixture(autouse=True)
def reset_cli_global():
cli.set_by_cli.detector = None