Re: [PATCH 00/13] remote-hg: general updates
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Apr 3, 2013, 09:20 UTC
- Message-ID
- <CAMP44s3czwYv7CDOkJ6t7=gYEC9s1Z2ygexfZwSs5JFfzGHGvw@mail.gmail.com>
- In-Reply-To
- <CAMP44s3DETFBhexPhEEMP1TZGNrc91266=t16H2t_+VB_4V38w@mail.gmail.com>
On Tue, Apr 2, 2013 at 7:31 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
Show 6 quoted lines
>> * added many new test cases, sadly still including some xfails. Several of these (both passing and xfailing) also apply to remote-hg (i.e. the issue is also present in contrib's remote-hg) > > I ran these test-cases with remote-hg, and the same test-cases pass. I > only had to do minor modifications, most of the failures came from > subtle differences such as different strategies to sanitize authors, > and which branch to pick for HEAD.
After doing some modifications in remote-hg, here are the test cases of gitifyhg v0.8 without modifications:
========================================================= test session starts ========================================================== platform linux2 -- Python 2.7.3 -- pytest-2.3.4 collected 80 items
test/test_author.py ........F test/test_clone.py ......xx.........x...x.. test/test_notes.py ..FxF test/test_pull.py ....x..xx.. test/test_push.py ..............x........FF... test/test_special_cases.py ...
=============================================================== FAILURES =============================================================== /home/felipec/tmp/gitifyhg/test/helpers.py:118: assert 'totally <bad...e used in hg>' == 'totally <unknown>' /usr/lib/python2.7/site-packages/sh.py:309: ErrorReturnCode_128: /home/felipec/tmp/gitifyhg/test/test_notes.py:107: assert not 'error' in 'searching for changes\nno changes found\nFrom hg::file:///tmp/pytest-91/test_simple_push_updates_notes_after_contentf...rror: refs/notes/hg does not point to a valid object!\nerror: refs/notes/hg-origin does not point to a valid object!\n' /home/felipec/tmp/gitifyhg/test/helpers.py:108: assert [u'Added tag ...780a9c', u'a'] == ['I tagged thi...nd user', 'a'] /home/felipec/tmp/gitifyhg/test/test_push.py:410: assert 'default' == 'branch_one' =========================================== 5 failed, 66 passed, 9 xfailed in 75.23 seconds ============================================
-- Felipe Contreras