diff options
author | Philip Thiem <ptthiem@gmail.com> | 2013-07-04 12:53:02 -0500 |
---|---|---|
committer | Philip Thiem <ptthiem@gmail.com> | 2013-07-04 12:53:02 -0500 |
commit | 0fb7894e8fca0cbd3454fbff2afc45f51cfdd156 (patch) | |
tree | 9391b8b57ceaf2c17e22948d643412d6caa97380 /setuptools/tests/test_svn.py | |
parent | e6a901a1f7d454f64fb6f1b13d8f777f3a836abd (diff) | |
download | external_python_setuptools-0fb7894e8fca0cbd3454fbff2afc45f51cfdd156.tar.gz external_python_setuptools-0fb7894e8fca0cbd3454fbff2afc45f51cfdd156.tar.bz2 external_python_setuptools-0fb7894e8fca0cbd3454fbff2afc45f51cfdd156.zip |
removed the objects
--HG--
extra : rebase_source : 19c8be226a698813103dc2393b3b154060d90669
Diffstat (limited to 'setuptools/tests/test_svn.py')
-rw-r--r-- | setuptools/tests/test_svn.py | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/setuptools/tests/test_svn.py b/setuptools/tests/test_svn.py index 44637909..6f8399dd 100644 --- a/setuptools/tests/test_svn.py +++ b/setuptools/tests/test_svn.py @@ -32,13 +32,13 @@ class TestSvnVersion(unittest.TestCase): old_path = os.environ['path'] os.environ['path'] = '' try: - version = svn_utils.SVNEntries.get_svn_tool_version() + version = svn_utils.get_svn_tool_version() self.assertEqual(version, '') finally: os.environ['path'] = old_path def test_svn_should_exist(self): - version = svn_utils.SVNEntries.get_svn_tool_version() + version = svn_utils.get_svn_tool_version() self.assertNotEqual(version, '') @@ -64,25 +64,6 @@ class TestSvn_1_7(unittest.TestCase): os.chdir(self.old_cwd) _remove_dir(self.temp_dir) - def test_svnentrycmd_is_valid(self): - entries = svn_utils.SVNEntries.load_dir('.') - self.assertIsInstance(entries, svn_utils.SVNEntriesCMD) - self.assertTrue(entries.is_valid()) - - def test_svnentrycmd_is_valid(self): - entries = svn_utils.SVNEntries.load_dir('.') - self.assertIsInstance(entries, svn_utils.SVNEntriesCMD) - self.assertTrue(entries.is_valid()) - - def test_svnentrycmd_enteries(self): - entries = svn_utils.SVNEntries.load_dir('.') - self.assertIsInstance(entries, svn_utils.SVNEntriesCMD) - self.assertEqual(entries.parse_revision(), 4) - self.assertEqual(set(entries.get_undeleted_records()), - set([u'readme.txt', u'other'])) - self.assertEqual(set(entries.get_external_dirs('dir-props')), - set([u'third_party3', u'third_party2', u'third_party'])) - def test_egg_info(self): rev = egg_info.egg_info.get_svn_revision() self.assertEqual(rev, '4') |