python3Packages.roombapy: replace hbmqtt with amqtt

This commit is contained in:
Fabian Affolter 2022-01-14 15:01:26 +01:00
parent 2bf5042700
commit 7b71c6e756

View File

@ -37,6 +37,12 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
# hbmqtt was replaced by amqtt
substituteInPlace tests/test_roomba_integration.py \
--replace "from hbmqtt.broker import Broker" "from amqtt.broker import Broker"
'';
disabledTestPaths = [
# Requires network access
"tests/test_discovery.py"