All pastes #791206 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-20 20:00 UTC
rendered paste body
======================================================================
ERROR: test_diff (monkey.git.GitBranchTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/testing/monkey/branch.py", line 53, in setUp
    self.branch = make_test_branch(self.branch_klass)
  File "/tmp/testing/monkey/branch.py", line 40, in make_test_branch
    branch = klass.init(path)
  File "/tmp/testing/monkey/git.py", line 30, in init
    _git(path, 'init')
  File "/tmp/testing/monkey/git.py", line 18, in _git
    return run('git-%s' % cmd, *args, **{'cwd': cwd})
  File "/tmp/testing/monkey/util.py", line 29, in run
    return _subprocess((cmd,) + args, cwd=kw.get('cwd'))
  File "/tmp/testing/monkey/util.py", line 17, in _subprocess
    process = subprocess.Popen(*args, **kw)
  File "subprocess.py", line 543, in __init__
    errread, errwrite)
  File "subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
ERROR: test_diff_branch (monkey.git.GitBranchTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/testing/monkey/branch.py", line 53, in setUp
    self.branch = make_test_branch(self.branch_klass)
  File "/tmp/testing/monkey/branch.py", line 40, in make_test_branch
    branch = klass.init(path)
  File "/tmp/testing/monkey/git.py", line 30, in init
    _git(path, 'init')
  File "/tmp/testing/monkey/git.py", line 18, in _git
    return run('git-%s' % cmd, *args, **{'cwd': cwd})
  File "/tmp/testing/monkey/util.py", line 29, in run
    return _subprocess((cmd,) + args, cwd=kw.get('cwd'))
  File "/tmp/testing/monkey/util.py", line 17, in _subprocess
    process = subprocess.Popen(*args, **kw)
  File "subprocess.py", line 543, in __init__
    errread, errwrite)
  File "subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
ERROR: test_get_history (monkey.git.GitBranchTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/testing/monkey/branch.py", line 53, in setUp
    self.branch = make_test_branch(self.branch_klass)
  File "/tmp/testing/monkey/branch.py", line 40, in make_test_branch
    branch = klass.init(path)
  File "/tmp/testing/monkey/git.py", line 30, in init
    _git(path, 'init')
  File "/tmp/testing/monkey/git.py", line 18, in _git
    return run('git-%s' % cmd, *args, **{'cwd': cwd})
  File "/tmp/testing/monkey/util.py", line 29, in run
    return _subprocess((cmd,) + args, cwd=kw.get('cwd'))
  File "/tmp/testing/monkey/util.py", line 17, in _subprocess
    process = subprocess.Popen(*args, **kw)
  File "subprocess.py", line 543, in __init__
    errread, errwrite)
  File "subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
ERROR: test_get_manifest (monkey.git.GitBranchTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/testing/monkey/branch.py", line 53, in setUp
    self.branch = make_test_branch(self.branch_klass)
  File "/tmp/testing/monkey/branch.py", line 40, in make_test_branch
    branch = klass.init(path)
  File "/tmp/testing/monkey/git.py", line 30, in init
    _git(path, 'init')
  File "/tmp/testing/monkey/git.py", line 18, in _git
    return run('git-%s' % cmd, *args, **{'cwd': cwd})
  File "/tmp/testing/monkey/util.py", line 29, in run
    return _subprocess((cmd,) + args, cwd=kw.get('cwd'))
  File "/tmp/testing/monkey/util.py", line 17, in _subprocess
    process = subprocess.Popen(*args, **kw)
  File "subprocess.py", line 543, in __init__
    errread, errwrite)
  File "subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

======================================================================
FAIL: Doctest: monkey.git._test_init
----------------------------------------------------------------------
Traceback (most recent call last):
  File "doctest.py", line 2157, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for monkey.git._test_init
  File "/tmp/testing/monkey/git.py", line 96, in _test_init

----------------------------------------------------------------------
File "/tmp/testing/monkey/git.py", line 101, in monkey.git._test_init
Failed example:
    branch = GitBranch.init(path)
Exception raised:
    Traceback (most recent call last):
      File "doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest monkey.git._test_init[2]>", line 1, in ?
        branch = GitBranch.init(path)
      File "/tmp/testing/monkey/git.py", line 30, in init
        _git(path, 'init')
      File "/tmp/testing/monkey/git.py", line 18, in _git
        return run('git-%s' % cmd, *args, **{'cwd': cwd})
      File "/tmp/testing/monkey/util.py", line 29, in run
        return _subprocess((cmd,) + args, cwd=kw.get('cwd'))
      File "/tmp/testing/monkey/util.py", line 17, in _subprocess
        process = subprocess.Popen(*args, **kw)
      File "subprocess.py", line 543, in __init__
        errread, errwrite)
      File "subprocess.py", line 975, in _execute_child
        raise child_exception
    OSError: [Errno 2] No such file or directory
----------------------------------------------------------------------
File "/tmp/testing/monkey/git.py", line 102, in monkey.git._test_init
Failed example:
    ls(path)
Expected:
    ['.git']
Got:
    []
----------------------------------------------------------------------
File "/tmp/testing/monkey/git.py", line 104, in monkey.git._test_init
Failed example:
    branch.destroy()
Exception raised:
    Traceback (most recent call last):
      File "doctest.py", line 1248, in __run
        compileflags, 1) in test.globs
      File "<doctest monkey.git._test_init[4]>", line 1, in ?
        branch.destroy()
    NameError: name 'branch' is not defined


----------------------------------------------------------------------
Ran 98 tests in 29.947s

FAILED (failures=1, errors=4)