Every line of 'create virtual environment anaconda' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
14 def test_create_uses_bash_and_sources_virtualenvwrapper(self, mock_subprocess, virtualenvs_folder): 15 v = Virtualenv("domain.com", "3.6") 16 v.create(nuke=False) 17 args, kwargs = mock_subprocess.check_call.call_args 18 command_list = args[0] 19 assert command_list[:2] == ["bash", "-c"] 20 assert command_list[2].startswith("source virtualenvwrapper.sh && mkvirtualenv")
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code