diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-08-30 14:21:15 (GMT) |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-08-30 14:21:15 (GMT) |
| commit | d15b768ddb68fe82470d26bb2cc36699f4bc0b75 (patch) | |
| tree | 314bac1cdca839976e5de93505d7173add150826 /Lib/packaging/tests/test_dist.py | |
| parent | a514eb95f30306a11a14f8a3b9cbf229c6af6137 (diff) | |
| parent | b9fe54cccc3798f089489ef1e7f9026a35d16d6b (diff) | |
| download | cpython-d15b768ddb68fe82470d26bb2cc36699f4bc0b75.zip cpython-d15b768ddb68fe82470d26bb2cc36699f4bc0b75.tar.gz cpython-d15b768ddb68fe82470d26bb2cc36699f4bc0b75.tar.bz2 | |
Branch merge
Diffstat (limited to 'Lib/packaging/tests/test_dist.py')
| -rw-r--r-- | Lib/packaging/tests/test_dist.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/packaging/tests/test_dist.py b/Lib/packaging/tests/test_dist.py index 01a11ca..1d78fa9 100644 --- a/Lib/packaging/tests/test_dist.py +++ b/Lib/packaging/tests/test_dist.py @@ -98,7 +98,7 @@ class DistributionTestCase(support.TempdirManager, Distribution(attrs={'author': 'xxx', 'name': 'xxx', 'version': '1.2', - 'url': 'xxxx', + 'home-page': 'xxxx', 'badoptname': 'xxx'}) logs = self.get_logs(logging.WARNING) self.assertEqual(1, len(logs)) @@ -108,7 +108,7 @@ class DistributionTestCase(support.TempdirManager, Distribution(attrs={'author': 'xxx', 'name': 'xxx', 'version': 'xxx', - 'url': 'xxxx'}) + 'home-page': 'xxxx'}) logs = self.get_logs(logging.WARNING) self.assertEqual(1, len(logs)) self.assertIn('not a valid version', logs[0]) @@ -119,7 +119,7 @@ class DistributionTestCase(support.TempdirManager, Distribution(attrs={'author': 'xxx', 'name': 'xxx', 'version': '1.2', - 'url': 'xxxx', + 'home-page': 'xxxx', 'options': {}}) self.assertEqual([], self.get_logs(logging.WARNING)) @@ -135,7 +135,7 @@ class DistributionTestCase(support.TempdirManager, dist = Distribution(attrs={'author': 'xxx', 'name': 'xxx', 'version': 'xxx', - 'url': 'xxxx', + 'home-page': 'xxxx', 'options': {'sdist': {'owner': 'root'}}}) self.assertIn('owner', dist.get_option_dict('sdist')) |
