Thanks, I'll take a look at this and sort it out. cheers, Aaron.
On Aug 31, 2012 6:48 PM, "Michael Vogt" <email address hidden> wrote:
> Hey Aaron, thanks a lot for your work on this!
>
> I think this is good, there is just one issue with the tests
> that probably just needs updating:
> $ PYTHONPATH=. python tests/gtk3/test_appdetailsview.py
> ...
> ======================================================================
> ERROR: test_all_duplicate_reviews_keeps_going (__main__.TestAppdetailsView)
> AppDetailsView._reviews_ready_callback will fetch another page if
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/mock.py", line 1224, in patched
> return func(*args, **keywargs)
> File "tests/gtk3/test_appdetailsview.py", line 240, in
> test_all_duplicate_reviews_keeps_going
> application, callback = mock_get_reviews.call_args[0]
> ValueError: need more than 1 value to unpack
>
> ======================================================================
> ERROR: test_no_reviews_returned_attempts_relaxing
> (__main__.TestAppdetailsView)
> AppDetailsView._reviews_ready_callback will attempt to drop the
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/mock.py", line 1224, in patched
> return func(*args, **keywargs)
> File "tests/gtk3/test_appdetailsview.py", line 206, in
> test_no_reviews_returned_attempts_relaxing
> application, callback = mock_get_reviews.call_args[0]
> ValueError: need more than 1 value to unpack
>
> ----------------------------------------------------------------------
> Ran 23 tests in 135.414s
>
> I will try to get to it later today unless you want to tackle it (which
> would be very welcome
> of course as well :)
> --
>
> https://code.launchpad.net/~aaronp/software-center/review-refactor/+merge/122035
> You are the owner of lp:~aaronp/software-center/review-refactor.
>
Thanks, I'll take a look at this and sort it out. cheers, Aaron.
On Aug 31, 2012 6:48 PM, "Michael Vogt" <email address hidden> wrote:
> Hey Aaron, thanks a lot for your work on this! test_appdetails view.py ======= ======= ======= ======= ======= ======= ======= ======= ======= duplicate_ reviews_ keeps_going (__main_ _.TestAppdetail sView) _reviews_ ready_callback will fetch another page if ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 7/dist- packages/ mock.py" , line 1224, in patched gtk3/test_ appdetailsview. py", line 240, in duplicate_ reviews_ keeps_going reviews. call_args[ 0] ======= ======= ======= ======= ======= ======= ======= ======= ======= reviews_ returned_ attempts_ relaxing _.TestAppdetail sView) _reviews_ ready_callback will attempt to drop the ------- ------- ------- ------- ------- ------- ------- ------- ------- python2. 7/dist- packages/ mock.py" , line 1224, in patched gtk3/test_ appdetailsview. py", line 206, in reviews_ returned_ attempts_ relaxing reviews. call_args[ 0] ------- ------- ------- ------- ------- ------- ------- ------- ------- /code.launchpad .net/~aaronp/ software- center/ review- refactor/ +merge/ 122035
>
> I think this is good, there is just one issue with the tests
> that probably just needs updating:
> $ PYTHONPATH=. python tests/gtk3/
> ...
> =======
> ERROR: test_all_
> AppDetailsView.
> -------
> Traceback (most recent call last):
> File "/usr/lib/
> return func(*args, **keywargs)
> File "tests/
> test_all_
> application, callback = mock_get_
> ValueError: need more than 1 value to unpack
>
> =======
> ERROR: test_no_
> (__main_
> AppDetailsView.
> -------
> Traceback (most recent call last):
> File "/usr/lib/
> return func(*args, **keywargs)
> File "tests/
> test_no_
> application, callback = mock_get_
> ValueError: need more than 1 value to unpack
>
> -------
> Ran 23 tests in 135.414s
>
> I will try to get to it later today unless you want to tackle it (which
> would be very welcome
> of course as well :)
> --
>
> https:/
> You are the owner of lp:~aaronp/software-center/review-refactor.
>