Skip to content

Instantly share code, notes, and snippets.

@ionelmc
Created January 9, 2015 22:17
Show Gist options
  • Save ionelmc/92a4c7efdf886b7e7a31 to your computer and use it in GitHub Desktop.
Save ionelmc/92a4c7efdf886b7e7a31 to your computer and use it in GitHub Desktop.
GLOB sdist-make: C:\Users\ionel_000\Projects\bumpversion\setup.py
py27 inst-nodeps: C:\Users\ionel_000\Projects\bumpversion\.tox\dist\bumpversion-0.5.1.dev0.zip
py27 runtests: PYTHONHASHSEED='760'
py27 runtests: commands[0] | py.test
============================= test session starts =============================
platform win32 -- Python 2.7.9 -- py-1.4.26 -- pytest-2.6.4
collected 84 items
tests.py x.sX........X.....X.X..X.X.X.X.X.X..XXXX.XX.X.X.X.X.........X.X.X.X........F....FxX.
================================== FAILURES ===================================
___________________ test_search_replace_expanding_changelog ___________________
C:\Users\ionel_000\Projects\bumpversion\tests.py:1505: in test_search_replace_expanding_changelog
assert postdate in tmpdir.join("CHANGELOG.md").read()
E assert ')\n---------------------------\n\n* Some nice feature\n* Some other nice feature' in '\r\nMy awesome software project Changelog\r\n=====================================\r\n\r\nUnreleased\r\n----------\r\...10
)\n--------------------------- (2014-05-28)\r\n---------------------------\r\n\r\n* Another old nice feature\r\n\r\n'
E + where '\r\nMy awesome software project Changelog\r\n=====================================\r\n\r\nUnreleased\r\n----------\r\...10)\n--------------------------- (2014-05-28)\r\n---------------------------\r\n\r\n*
Another old nice feature\r\n\r\n' = <bound method LocalPath.read of local(u'c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-68\\test_search_replace_expanding_0\\CHANGELOG.md')>()
E + where <bound method LocalPath.read of local(u'c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-68\\test_search_replace_expanding_0\\CHANGELOG.md')> = local(u'c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-6
8\\test_search_replace_expanding_0\\CHANGELOG.md').read
E + where local(u'c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-68\\test_search_replace_expanding_0\\CHANGELOG.md') = <bound method LocalPath.join of local('c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-6
8\\test_search_replace_expanding_0')>('CHANGELOG.md')
E + where <bound method LocalPath.join of local('c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-68\\test_search_replace_expanding_0')> = local('c:\\users\\ionel_~1\\appdata\\local\\temp\\pytest-68\\test_sear
ch_replace_expanding_0').join
---------------------------- Captured stdout call -----------------------------
My awesome software project Changelog
=====================================
Unreleased
----------
* Some nice feature
* Some other nice feature
Version v
Unreleased
----------
Version v8.2.0 (2015-01-10)
--------------------------- (2014-05-28)
---------------------------
* Another old nice feature
_______________________ test_multiline_search_is_found ________________________
C:\Users\ionel_000\Projects\bumpversion\tests.py:1628: in test_multiline_search_is_found
main(['major'])
C:\Users\ionel_000\Projects\bumpversion\bumpversion\__init__.py:896: in main
f.should_contain_version(current_version, context)
C:\Users\ionel_000\Projects\bumpversion\bumpversion\__init__.py:208: in should_contain_version
assert self.contains(version.original), msg
E AssertionError: Did not find '9.8.7' or '
E A
E B
E C' in file the_alphabet.txt
=========================== short test summary info ===========================
XFAIL tests.py::test_unicode_env
Windows does not allow Unicode in environment.
XFAIL tests.py::test_configparser_empty_lines_in_values
configparser doesn't support empty_lines_in_values
FAIL tests.py::test_search_replace_expanding_changelog
FAIL tests.py::test_multiline_search_is_found
SKIP [1] C:\Users\ionel_000\Projects\bumpversion\.tox\py27\lib\site-packages\_pytest\skipping.py:142: This test doesn't make any sense anyway.
=== 2 failed, 54 passed, 1 skipped, 2 xfailed, 25 xpassed in 24.51 seconds ====
ERROR: InvocationError: 'C:\\Users\\ionel_000\\Projects\\bumpversion\\.tox\\py27\\Scripts\\py.test.EXE'
___________________________________ summary ___________________________________
ERROR: py27: commands failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment