aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_svn.py
diff options
context:
space:
mode:
authorPhilip Thiem <ptthiem@gmail.com>2013-07-04 11:20:20 -0500
committerPhilip Thiem <ptthiem@gmail.com>2013-07-04 11:20:20 -0500
commitb46fff3b028fb1c0c423eddd6d53ca9f70a10bb0 (patch)
tree857e50d1d828d7aea6527e814439b1e587ed4171 /setuptools/tests/test_svn.py
parent6937c39c7f21cd6cda8271092b7672712e012674 (diff)
downloadexternal_python_setuptools-b46fff3b028fb1c0c423eddd6d53ca9f70a10bb0.tar.gz
external_python_setuptools-b46fff3b028fb1c0c423eddd6d53ca9f70a10bb0.tar.bz2
external_python_setuptools-b46fff3b028fb1c0c423eddd6d53ca9f70a10bb0.zip
get_svn_method now direectly called svn_utils.parse_revision
--HG-- extra : rebase_source : 4af53ce7fcf4d69c0d65800e57fabec7d081ce35
Diffstat (limited to 'setuptools/tests/test_svn.py')
-rw-r--r--setuptools/tests/test_svn.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_svn.py b/setuptools/tests/test_svn.py
index b6950ea3..5e8a3e1b 100644
--- a/setuptools/tests/test_svn.py
+++ b/setuptools/tests/test_svn.py
@@ -11,6 +11,7 @@ import shutil
import stat
from setuptools import svn_utils
+from setuptools.command import egg_info
#requires python >= 2.4
from subprocess import call as _call
@@ -83,6 +84,9 @@ class TestSvn_1_7(unittest.TestCase):
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')
def test_suite():