Hi all,

I am trying to set up efm for pytest (from logilab.common.testlib).
Output is closed to the standard pyunit output but still a little bit
different. Here is an example:

===========================  test_cli.py  ============================
======================================================================
FAIL: test_creation (test_cli.TestAsterParser)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/usr/lib/pymodules/python2.6/logilab/common/testlib.py", line
644, in _proceed
    testfunc(*args, **kwargs)
  File "/home/jpht/devs/tools/easy_coding/trunk/test/test_cli.py",
line 37, in test_creation
    self.assertTrue(False)
  File "/usr/lib/pymodules/python2.6/unittest2/case.py", line 427, in
assertTrue
    raise self.failureException(msg)
AssertionError: False is not True

                              no stdout
                              no stderr
----------------------------------------------------------------------
Ran 9 tests in 0.009s

FAILED (failures=1)
*******************************************************************************

The problem is that I am only interested in the second line here; the
first and third one are related to underlying testing libraries.

I tried several patterns starting from standard pyunit efm without
success. I am getting closer with:

%C\ %.%#,%.%#testlib%.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%
\\@=%m

but looking at the quickfiw window content proved that I still have to
improve the description. Any clue?

Jean-Philippe

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to