Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/mercurial/tests/conftest.py
Show All 40 Lines | |||||
@pytest.fixture(autouse=True, scope="session") | @pytest.fixture(autouse=True, scope="session") | ||||
def swh_mercurial_set_plain(): | def swh_mercurial_set_plain(): | ||||
"""Mercurial is customizable by users, so we use built-in environment | """Mercurial is customizable by users, so we use built-in environment | ||||
variables to turn off all customization in tests. | variables to turn off all customization in tests. | ||||
""" | """ | ||||
os.environ["HGPLAIN"] = "" | os.environ["HGPLAIN"] = "" | ||||
os.environ["HGRCPATH"] = "" | os.environ["HGRCPATH"] = "" | ||||
ardumont: there we go, it is configured for the test ;) | |||||
Not Done Inline ActionsFollowing my last remark above, isn't this redundant with the cleaning up done in the production code already? ardumont: Following my last remark above, isn't this redundant with the cleaning up done in the… | |||||
Done Inline ActionsI have a new explanation in the updated commit message. Alphare: I have a new explanation in the updated commit message. | |||||
os.environ["HGRCSKIPREPO"] = "" |
there we go, it is configured for the test ;)