diff options
| author | Tarek Ziade <tarek@ziade.org> | 2010-10-13 16:51:49 +0200 |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2010-10-13 16:51:49 +0200 |
| commit | 408cfe8fbdcd05ed3b77b371c5dcfa9e5454a2f2 (patch) | |
| tree | 254aa09779cf0cbb2906de073ef4b54da5015f12 /distutils2/tests | |
| parent | 794564bc035c7e353996429fe83619fdcbe52b7f (diff) | |
| download | disutils2-408cfe8fbdcd05ed3b77b371c5dcfa9e5454a2f2.tar.gz | |
now accepting description-file
Diffstat (limited to 'distutils2/tests')
| -rw-r--r-- | distutils2/tests/test_config.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distutils2/tests/test_config.py b/distutils2/tests/test_config.py index a2b51a8..7ae932e 100644 --- a/distutils2/tests/test_config.py +++ b/distutils2/tests/test_config.py @@ -16,7 +16,7 @@ author_email = carl@oddbird.net maintainer = Éric Araujo maintainer_email = merwok@netwok.org summary = A sample project demonstrating distutils2 packaging -description = README +description-file = README keywords = distutils2, packaging, sample project classifier = @@ -102,6 +102,7 @@ class ConfigTestCase(support.TempdirManager, tempdir = self.mkdtemp() os.chdir(tempdir) self.write_file('setup.cfg', SETUP_CFG) + self.write_file('README', 'yeah') # try to load the metadata now sys.stdout = StringIO() @@ -163,6 +164,8 @@ class ConfigTestCase(support.TempdirManager, # make sure we get the foo command loaded ! self.assertEquals(dist.cmdclass['foo'], Foo) + # did the README got loaded ? + self.assertEquals(dist.metadata['description'], 'yeah') def test_suite(): return unittest.makeSuite(ConfigTestCase) |
