Just confirmed this locally, no idea what could possibly be causing this
failure; I haven't touched that code in *months*. Also it's heavily
mocked, so it's not like some outside web service is returning a
different result to break this or something. Will look into it further
when I get a bit of time.
** Changed in: friends (Ubuntu)
Assignee: (unassigned) => Robert Bruce Park (robru)
** Changed in: friends (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to friends in Ubuntu.
https://bugs.launchpad.net/bugs/1223430
Title:
autopkgtest: test_signatures (friends.tests.test_twitter.TestTwitter)
failed
Status in “friends” package in Ubuntu:
Triaged
Bug description:
The following test is failing autopkgtest:
python3 -m unittest discover
(process:23531): libnotify-WARNING **: Failed to connect to proxy
/usr/lib/python3.3/importlib/_bootstrap.py:313: UserWarning: Module friends
was already imported from
/tmp/tmp.7zFMNkYn1G/dsc0-build/friends-0.2.0+13.10.20130822/friends/__init__.py,
but /usr/lib/python3/dist-packages is being added to sys.path
return f(*args, **kwds)
..........................................................F............................................................................................................................................................................................
======================================================================
FAIL: test_signatures (friends.tests.test_twitter.TestTwitter)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.3/unittest/mock.py", line 1087, in patched
return func(*args, **keywargs)
File
"/tmp/tmp.7zFMNkYn1G/dsc0-build/friends-0.2.0+13.10.20130822/friends/tests/test_twitter.py",
line 120, in test_signatures
method='GET')
File "/usr/lib/python3.3/unittest/mock.py", line 737, in
assert_called_once_with
return self.assert_called_with(*args, **kwargs)
File "/usr/lib/python3.3/unittest/mock.py", line 726, in assert_called_with
raise AssertionError(msg)
AssertionError: Expected call: Downloader('http://example.com', params=None,
headers={'Authorization': 'OAuth oauth_nonce="once%20upon%20a%20nonce",
oauth_timestamp="1348690628", oauth_version="1.0",
oauth_signature_method="HMAC-SHA1", oauth_consumer_key="consume",
oauth_token="omega", oauth_signature="2MlC4DOqcAdCUmU647izPmxiL%2F0%3D"'},
method='GET', rate_limiter='limits')
Actual call: Downloader('http://example.com', params=None,
headers={'Authorization': 'OAuth oauth_nonce="once%20upon%20a%20nonce",
oauth_timestamp="1348690628", oauth_version="1.0",
oauth_signature_method="HMAC-SHA1", oauth_consumer_key="consume",
oauth_token="omega", oauth_signature="klnMTp3hH%2Fl3b5%2BmPtBlv%2BCulic%3D"'},
method='GET', rate_limiter='limits')
----------------------------------------------------------------------
Ran 247 tests in 1.857s
FAILED (failures=1)
make: *** [check] Error 1
http://jenkins.qa.ubuntu.com/job/saucy-adt-friends/ARCH=amd64,label=adt/99/
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: friends 0.2.0+13.10.20130822-0ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-6.12-generic 3.11.0
Uname: Linux 3.11.0-6-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Tue Sep 10 12:09:47 2013
InstallationDate: Installed on 2013-09-03 (6 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
MarkForUpload: True
SourcePackage: friends
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friends/+bug/1223430/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp