mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
fix test runner on gitlab ci
This commit is contained in:
parent
fc36f31cb0
commit
63b341cad8
1 changed files with 5 additions and 4 deletions
|
|
@ -33,11 +33,12 @@ requires = ["setuptools", "wheel"]
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def runner(tmpdir):
|
def runner(tmpdir):
|
||||||
runner = CliRunner()
|
runner = CliRunner(env={
|
||||||
|
'GIT_AUTHOR_NAME' : "pycalver_tester",
|
||||||
|
'GIT_AUTHOR_EMAIL': "pycalver_tester@nowhere.com",
|
||||||
|
'HGUSER' : "pycalver_tester",
|
||||||
|
})
|
||||||
orig_cwd = os.getcwd()
|
orig_cwd = os.getcwd()
|
||||||
os.environ['GIT_AUTHOR_NAME' ] = "pycalver_tester"
|
|
||||||
os.environ['GIT_AUTHOR_EMAIL'] = "pycalver_tester@nowhere.com"
|
|
||||||
os.environ['HGUSER' ] = "pycalver_tester"
|
|
||||||
|
|
||||||
_debug = 0
|
_debug = 0
|
||||||
if _debug:
|
if _debug:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue