diff options
| author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-08-28 10:22:21 +0300 |
|---|---|---|
| committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2017-08-28 10:22:21 +0300 |
| commit | b699f94728c82691bed9b67a48b170951535fa38 (patch) | |
| tree | 61dc2ca4ca08de24b35f4b51b5f7cff34d0b989d /setuptools/tests | |
| parent | 30bf0a41e410d17d118fd9bdf9385f035871951e (diff) | |
| download | external_python_setuptools-b699f94728c82691bed9b67a48b170951535fa38.tar.gz external_python_setuptools-b699f94728c82691bed9b67a48b170951535fa38.tar.bz2 external_python_setuptools-b699f94728c82691bed9b67a48b170951535fa38.zip | |
Support list of files passed to `file:` directive
* `file:` not accepts comma-separated list of filenames
* files' contents are glues with an LF separator
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_config.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/setuptools/tests/test_config.py b/setuptools/tests/test_config.py index 95ae60b2..d81d4288 100644 --- a/setuptools/tests/test_config.py +++ b/setuptools/tests/test_config.py @@ -144,11 +144,7 @@ class TestMetadata: fake_env( tmpdir, '[metadata]\n' - 'long_description =\n' - ' Some normal line\n' - ' file: README.rst\n' - ' Another line\n' - ' file: CHANGES.rst\n' + 'long_description = file: README.rst, CHANGES.rst\n' '\n' ) @@ -157,9 +153,7 @@ class TestMetadata: with get_dist(tmpdir) as dist: assert dist.metadata.long_description == ( - 'Some normal line\n' 'readme contents\nline2\n' - 'Another line\n' 'changelog contents\nand stuff' ) @@ -168,7 +162,7 @@ class TestMetadata: fake_env( tmpdir, '[metadata]\n' - 'long_description = file: ../../README\n' + 'long_description = file: CHANGES.rst, ../../README\n' ) with get_dist(tmpdir, parse=False) as dist: |
