Failure in test_no_credentials_calls_get_token_and_login

Bug #488448 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpadlib
Fix Released
Undecided
Unassigned

Bug Description

I get the following failure when running tests in launchpadlib:

    Failure in test test_no_credentials_calls_get_token_and_login (launchpadlib.tests.test_launchpad.TestLaunchpadLoginWith)
    Traceback (most recent call last):
      File "/usr/lib/python2.6/unittest.py", line 279, in run
        testMethod()
      File "/home/gavin/Launchpad/launchpadlib/test/src/launchpadlib/tests/test_launchpad.py", line 136, in test_no_credentials_calls_get_token_and_login
        self.assertEqual(launchpad.passed_in_kwargs, expected_arguments)
      File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual
        (msg or '%r != %r' % (first, second))
    AssertionError: {'max_failed_attempts': 3, 'proxy_info': <object object at 0x7f9f59e2f1f0>, 'allow_access_levels': [], 'cache': '/tmp/tmp5MafCB/api.example.com/cache', 'service_root': 'http://api.example.com/beta', 'timeout': <object object at 0x7f9f59e2f1e0>, 'authorizer_class': <class 'launchpadlib.credentials.AuthorizeRequestTokenWithBrowser'>} != {'service_root': 'http://api.example.com/beta', 'cache': '/tmp/tmp5MafCB/api.example.com/cache', 'proxy_info': <object object at 0x7f9f59e2f1f0>, 'timeout': <object object at 0x7f9f59e2f1e0>}

For me this is repeatable with the following on Karmic:

  bzr branch lp:launchpadlib test
  cd test
  virtualenv . --no-site-packages
  bin/python bootstrap.py
  bin/buildout
  bin/test

Related branches

Revision history for this message
Robert Collins (lifeless) wrote :

Assuming fix released as there is a branch related to this thats merged into lplib.

Changed in launchpadlib:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.