Skip to content
Snippets Groups Projects
Commit a5def7bb authored by Frédéric Dalleau's avatar Frédéric Dalleau
Browse files

bluez/ubt: Fix Map profile test


MAP profile test was using a deprecated API dating back from 2012.
Update it according to version of bluez present in Apertis.

Reviewed-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
Differential Revision: https://phabricator.apertis.org/D4906
parent b926fa74
No related branches found
No related tags found
No related merge requests found
......@@ -321,10 +321,10 @@ class PbapDeviceProfileTester(DeviceProfileTester):
'org.bluez.obex.MessageAccess1')
set_folder(map, "telecom/msg")
folder = map.GetFolderListing(dict())
folder = map.ListFolders(dict())
for f in folder:
msg = map.GetMessageListing(f["Name"], dict())
msg = map.ListMessages(f["Name"], dict())
message_check(msg)
TEST_PASSED("MAP MSE")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment