diff options
author | Tarek Ziade <tarek@ziade.org> | 2010-05-06 18:10:32 +0200 |
---|---|---|
committer | Tarek Ziade <tarek@ziade.org> | 2010-05-06 18:10:32 +0200 |
commit | 6a6a261fa50522d77fba6d6345fb71ba9f00c311 (patch) | |
tree | 4d025291624e9ce33cfed1400b13907d8384d145 /setuptools/tests/test_easy_install.py | |
parent | 3cd5038930832fce95fb41d20150e173eb9894b5 (diff) | |
download | external_python_setuptools-6a6a261fa50522d77fba6d6345fb71ba9f00c311.tar.gz external_python_setuptools-6a6a261fa50522d77fba6d6345fb71ba9f00c311.tar.bz2 external_python_setuptools-6a6a261fa50522d77fba6d6345fb71ba9f00c311.zip |
make sure all tests passes on all python versions fixes #149
--HG--
branch : distribute
extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r-- | setuptools/tests/test_easy_install.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index f2655d75..e02798c6 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -122,19 +122,19 @@ class TestEasyInstallTest(unittest.TestCase): class TestPTHFileWriter(unittest.TestCase): def test_add_from_cwd_site_sets_dirty(self): - '''a pth file manager should set dirty + '''a pth file manager should set dirty if a distribution is in site but also the cwd ''' pth = PthDistributions('does-not_exist', [os.getcwd()]) - self.assertFalse(pth.dirty) + self.assert_(not pth.dirty) pth.add(PRDistribution(os.getcwd())) - self.assertTrue(pth.dirty) + self.assert_(pth.dirty) def test_add_from_site_is_ignored(self): pth = PthDistributions('does-not_exist', ['/test/location/does-not-have-to-exist']) - self.assertFalse(pth.dirty) + self.assert_(not pth.dirty) pth.add(PRDistribution('/test/location/does-not-have-to-exist')) - self.assertFalse(pth.dirty) + self.assert_(not pth.dirty) class TestUserInstallTest(unittest.TestCase): |