diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 12:45:38 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-01-02 12:45:38 -0500 |
commit | adda5ac7b25a17843749f054e48bc36de4c54b72 (patch) | |
tree | 0a82cb7c3997533703d8066b818ed593e0bc3835 /setuptools/tests/test_test.py | |
parent | 23c128e6ba47135134c317f42f1f42426eb9ae78 (diff) | |
download | python-setuptools-git-adda5ac7b25a17843749f054e48bc36de4c54b72.tar.gz |
Extract var
Diffstat (limited to 'setuptools/tests/test_test.py')
-rw-r--r-- | setuptools/tests/test_test.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py index 41b7d078..f2b444f7 100644 --- a/setuptools/tests/test_test.py +++ b/setuptools/tests/test_test.py @@ -77,13 +77,14 @@ def sample_test(tmpdir_cwd): class TestTestTest: def test_test(self): - dist = Distribution(dict( + params = dict( name='foo', packages=['name', 'name.space', 'name.space.tests'], namespace_packages=['name'], test_suite='name.space.tests.test_suite', use_2to3=True, - )) + ) + dist = Distribution(params) dist.script_name = 'setup.py' cmd = test(dist) cmd.user = 1 |