#7581 TestSVNRepo.test_log fails with svn 1.8

v1.2.0
closed
sf-1 (616)
General
2015-08-20
2014-07-22
No

forgesvn.tests.model.test_repository:TestSVNRepo.test_log fails with svn 1.8. It returns size -1 instead of size 0

  File "/vagrant/allura/ForgeSVN/forgesvn/tests/model/test_repository.py", line 320, in test_log
    'size': 0}])
AssertionError: Lists differ: [{'parents': [5], 'refs': ['HE... != [{'size': 0, 'parents': [5], '...

First differing element 0:
{'parents': [5], 'refs': ['HEAD'], 'committed': {'date': datetime.datetime(2013, 11, 8, 13, 38, 11, 152821), 'name': u'coldmind', 'email': ''}, 'message': u'', 'rename_details': {}, 'id': 6, 'authored': {'date': datetime.datetime(2013, 11, 8, 13, 38, 11, 152821), 'name': u'coldmind', 'email': ''}, 'size': -1}
{'size': 0, 'parents': [5], 'committed': {'date': datetime.datetime(2013, 11, 8, 13, 38, 11, 152821), 'name': u'coldmind', 'email': ''}, 'refs': ['HEAD'], 'rename_details': {}, 'message': u'', 'authored': {'date': datetime.datetime(2013, 11, 8, 13, 38, 11, 152821), 'name': u'coldmind', 'email': ''}, 'id': 6}

Diff is 2782 characters long. Set self.maxDiff to None to see it.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-07-22
    • status: open --> code-review
    • Size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2014-07-22

    Fix in branch db/7581

    Make sure commit size is still shown in the repo log view for an individual file. (test_log_file should cover that too)

     
  • Dave Brondsema

    Dave Brondsema - 2014-07-22
    • assigned_to: Dave Brondsema
     
  • Igor Bondarenko - 2014-07-23
    • QA: Igor Bondarenko
     
  • Igor Bondarenko - 2014-07-23
    • status: code-review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.