New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove double application of env vars from profile #4380
Conversation
@unittest.skipUnless(platform.system() == "Windows", "Test both .sh and .bat files") | ||
class VirtualenvGeneratorTest(unittest.TestCase): | ||
|
||
def prepend_values_test(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test checks that is not the fault of the virtualenv generator
Tried to make unit tests for this but I ended up with a lot of objects with values pre loaded just to test the loader methods... 🙄 So maybe it is better to add just a functional test for conanfile.txt and check the environment prepended values with the virtualenv generator output |
Changelog: BugFix: Prepend environment variables are applied twice in conanfile
Docs: omit
develop
branch, documenting this one.Note: By default this PR will skip the slower tests and will use a limited set of python versions. Check here how to increase the testing level by writing some tags in the current PR body text.