ofono template: cannot add second modem
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| python-dbusmock (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
Bug Description
When trying to add a second modem to a ofono mock (using the template), it fails.
Minimal test case:
http://
Ouput:
http://
The exception is:
DBusException: org.freedesktop
Which comes from AddModem calling add_netreg_api, which tries to add an object like so:
mock.
_parameters seems to be unchangeable from the test case, or, most likely, I am using this code wrong.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: python3-dbusmock (not installed)
ProcVersionSign
Uname: Linux 3.15.0-6-generic x86_64
ApportVersion: 2.14.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 11 10:02:08 2014
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
EcryptfsInUse: Yes
InstallationDate: Installed on 2013年08月27日 (317 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120703-15:08
SourcePackage: python-dbusmock
UpgradeStatus: Upgraded to utopic on 2014年07月01日 (9 days ago)
This bug was fixed in the package python-dbusmock - 0.10.3-1
---------------
python-dbusmock (0.10.3-1) unstable; urgency=medium
* New upstream release:
- Fix TestCLI.
- ofono template: Support adding a second modem with AddModem().
(LP: #1340590)
-- Martin Pitt <email address hidden> 2014年7月16日 13:32:03 +0200