fix --version test, set version to 1.0.x rather than 1.0.1 for now, regen setup.py/MANIFEST
--HG-- branch : 1.0.x
This commit is contained in:
parent
822b69a4e8
commit
38180ffa5f
3
MANIFEST
3
MANIFEST
|
@ -37,6 +37,7 @@ doc/test/plugin/index.txt
|
||||||
doc/test/plugin/keyword.txt
|
doc/test/plugin/keyword.txt
|
||||||
doc/test/plugin/links.txt
|
doc/test/plugin/links.txt
|
||||||
doc/test/plugin/monkeypatch.txt
|
doc/test/plugin/monkeypatch.txt
|
||||||
|
doc/test/plugin/nose.txt
|
||||||
doc/test/plugin/oejskit.txt
|
doc/test/plugin/oejskit.txt
|
||||||
doc/test/plugin/pastebin.txt
|
doc/test/plugin/pastebin.txt
|
||||||
doc/test/plugin/pdb.txt
|
doc/test/plugin/pdb.txt
|
||||||
|
@ -345,6 +346,7 @@ py/test/plugin/pytest_figleaf.py
|
||||||
py/test/plugin/pytest_hooklog.py
|
py/test/plugin/pytest_hooklog.py
|
||||||
py/test/plugin/pytest_keyword.py
|
py/test/plugin/pytest_keyword.py
|
||||||
py/test/plugin/pytest_monkeypatch.py
|
py/test/plugin/pytest_monkeypatch.py
|
||||||
|
py/test/plugin/pytest_nose.py
|
||||||
py/test/plugin/pytest_pastebin.py
|
py/test/plugin/pytest_pastebin.py
|
||||||
py/test/plugin/pytest_pdb.py
|
py/test/plugin/pytest_pdb.py
|
||||||
py/test/plugin/pytest_pylint.py
|
py/test/plugin/pytest_pylint.py
|
||||||
|
@ -358,6 +360,7 @@ py/test/plugin/pytest_tmpdir.py
|
||||||
py/test/plugin/pytest_unittest.py
|
py/test/plugin/pytest_unittest.py
|
||||||
py/test/plugin/pytest_xfail.py
|
py/test/plugin/pytest_xfail.py
|
||||||
py/test/plugin/test_pytest_capture.py
|
py/test/plugin/test_pytest_capture.py
|
||||||
|
py/test/plugin/test_pytest_nose.py
|
||||||
py/test/plugin/test_pytest_runner.py
|
py/test/plugin/test_pytest_runner.py
|
||||||
py/test/plugin/test_pytest_runner_xunit.py
|
py/test/plugin/test_pytest_runner_xunit.py
|
||||||
py/test/plugin/test_pytest_terminal.py
|
py/test/plugin/test_pytest_terminal.py
|
||||||
|
|
|
@ -20,7 +20,7 @@ For questions please check out http://pylib.org/contact.html
|
||||||
from initpkg import initpkg
|
from initpkg import initpkg
|
||||||
trunk = None
|
trunk = None
|
||||||
|
|
||||||
version = trunk or "1.0.1"
|
version = trunk or "1.0.x"
|
||||||
|
|
||||||
initpkg(__name__,
|
initpkg(__name__,
|
||||||
description = "py.test and pylib: advanced testing tool and networking lib",
|
description = "py.test and pylib: advanced testing tool and networking lib",
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import py
|
import py
|
||||||
|
|
||||||
EXPECTTIMEOUT=10.0
|
|
||||||
|
|
||||||
class TestGeneralUsage:
|
class TestGeneralUsage:
|
||||||
def test_version(self, testdir):
|
def test_version(self, testdir):
|
||||||
assert py.version == py.__version__
|
assert py.version == py.__version__
|
||||||
|
@ -9,7 +7,7 @@ class TestGeneralUsage:
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
p = py.path.local(py.__file__).dirpath()
|
p = py.path.local(py.__file__).dirpath()
|
||||||
assert result.stderr.fnmatch_lines([
|
assert result.stderr.fnmatch_lines([
|
||||||
'*py.test*%s*, imported from: %s*' % (py.version, p)
|
'*py.test*%s*imported from*%s*' % (py.version, p)
|
||||||
])
|
])
|
||||||
def test_config_error(self, testdir):
|
def test_config_error(self, testdir):
|
||||||
testdir.makeconftest("""
|
testdir.makeconftest("""
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -31,7 +31,7 @@ def main():
|
||||||
name='py',
|
name='py',
|
||||||
description='py.test and pylib: advanced testing tool and networking lib',
|
description='py.test and pylib: advanced testing tool and networking lib',
|
||||||
long_description = long_description,
|
long_description = long_description,
|
||||||
version= trunk or '1.0.1',
|
version= trunk or '1.0.x',
|
||||||
url='http://pylib.org',
|
url='http://pylib.org',
|
||||||
license='MIT license',
|
license='MIT license',
|
||||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||||
|
|
Loading…
Reference in New Issue