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 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 = [ disabledTestPaths = [
# Requires network access # Requires network access
"tests/test_discovery.py" "tests/test_discovery.py"