You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observed that if I run pytest within a fresh git clone of this repository, some tests failed.
I realized this is caused by the tests still using my .config/pkgdev/pkgdev.conf file while testing.
The following sample pkgdev.conf file demonstrates the problem:
[DEFAULT]commit.signoff = true
Which leads to TestPkgdevCommitParseArgs::test_commit_signing && TestPkgdevCommitParseArgs::test_git_commit_args_passthrough failing.
Not urgent, because it's easily worked around by removing that argument from pkgdev.conf. But we've got outside environment leaking into tests and causing issues.
The text was updated successfully, but these errors were encountered:
I observed that if I run
pytest
within a freshgit clone
of this repository, some tests failed.I realized this is caused by the tests still using my
.config/pkgdev/pkgdev.conf
file while testing.The following sample
pkgdev.conf
file demonstrates the problem:Which leads to TestPkgdevCommitParseArgs::test_commit_signing && TestPkgdevCommitParseArgs::test_git_commit_args_passthrough failing.
Not urgent, because it's easily worked around by removing that argument from
pkgdev.conf
. But we've got outside environment leaking into tests and causing issues.The text was updated successfully, but these errors were encountered: