-
Notifications
You must be signed in to change notification settings - Fork 463
/
bluez.py
33 lines (32 loc) · 1.11 KB
/
bluez.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (C) 2022 Orange
# SPDX-License-Identifier: GPL-3.0-or-later
mapping_test_data = [
{"product": "bluez", "version": "5.28", "version_strings": ["bluez-5.28"]},
{
"product": "bluez",
"version": "5.50",
"version_strings": ["5.50\nUsage: hcidump"],
},
{"product": "bluez", "version": "5.50", "version_strings": ["5.50\nhcitool"]},
{"product": "bluez", "version": "5.66", "version_strings": ["5.66\nBlueZ"]},
]
package_test_data = [
{
"url": "http://rpmfind.net/linux/fedora/linux/development/rawhide/Everything/aarch64/os/Packages/b/",
"package_name": "bluez-5.66-5.fc38.aarch64.rpm",
"product": "bluez",
"version": "5.66",
},
{
"url": "http://ftp.fr.debian.org/debian/pool/main/b/bluez/",
"package_name": "bluez_5.50-1.2~deb10u2_amd64.deb",
"product": "bluez",
"version": "5.50",
},
{
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
"package_name": "bluez-daemon_5.50-5_x86_64.ipk",
"product": "bluez",
"version": "5.50",
},
]