Skip to content

Cannot execute tests if git is not installed #101

@lansman

Description

@lansman

Windows 7, bumpversion 0.5.3
There is no git command on my machine so test.py falls immediately.

__________________________ ERROR collecting tests.py __________________________
tests.py:31: in <module>
    call(["git", "help"]) != 0,
C:\Python27\ArcGIS10.2\lib\subprocess.py:522: in call
    return Popen(*popenargs, **kwargs).wait()
C:\Python27\ArcGIS10.2\lib\subprocess.py:710: in __init__
    errread, errwrite)
C:\Python27\ArcGIS10.2\lib\subprocess.py:958: in _execute_child
    startupinfo)
E   WindowsError: [Error 2]
=========================== 1 error in 1.35 seconds ===========================

Let's consider change tests.py so developer can skip tests required git and execute another ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions