diff options
| author | holger krekel <holger@merlinux.eu> | 2013-12-09 16:06:00 +0100 |
|---|---|---|
| committer | holger krekel <holger@merlinux.eu> | 2013-12-09 16:06:00 +0100 |
| commit | 37674ee538a97cbc5c29135b139049b4b4bbdf3d (patch) | |
| tree | 2bb9118dade2e082ac9180d622a790ba89ede993 /tests | |
| parent | 142f0130c09177989c20a4c5527156aab93311b2 (diff) | |
| download | tox-37674ee538a97cbc5c29135b139049b4b4bbdf3d.tar.gz | |
introduce --sitepackages to force sitepackages=True in all
environments. Was wanted by Debian maintainer Barry Warsaw.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 5d11d88..b8d0aa3 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -451,6 +451,11 @@ class TestConfigTestEnv: # hashseed is random by default, so we can't assert a specific value. assert int_hashseed > 0 + def test_sitepackages_switch(self, tmpdir, newconfig): + config = newconfig(["--sitepackages"], "") + envconfig = config.envconfigs['python'] + assert envconfig.sitepackages == True + def test_installpkg_tops_develop(self, newconfig): config = newconfig(["--installpkg=abc"], """ [testenv] |
