Author: Armin Rigo <[email protected]>
Branch:
Changeset: r706:ea8e5e925737
Date: 2012-07-27 12:19 +0200
http://bitbucket.org/cffi/cffi/changeset/ea8e5e925737/
Log: Add a test for the 'release-X.Y.tar.bz2' file name.
diff --git a/testing/test_version.py b/testing/test_version.py
--- a/testing/test_version.py
+++ b/testing/test_version.py
@@ -15,3 +15,7 @@
v = cffi.__version__
assert ("version = '%s'\n" % v) in content
assert ("release = '%s'\n" % v) in content
+ #
+ p = os.path.join(parent, 'doc', 'source', 'index.rst')
+ content = file(p).read()
+ assert ("release-%s.tar.bz2" % v) in content
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit