'''sensors proxy mock template ''' # This program is free software; you can redistribute it and/or modify it under # the terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 3 of the License, or (at your option) any # later version. See http://www.gnu.org/copyleft/lgpl.html for the full text # of the license. __author__ = 'Marco Trevisan' __copyright__ = '(c) 2021 Canonical Ltd.' import re import dbus from dbusmock import MOCK_IFACE BUS_NAME = 'net.hadess.SensorProxy' MAIN_OBJ = '/net/hadess/SensorProxy' MAIN_IFACE = 'net.hadess.SensorProxy' COMPASS_IFACE = 'net.hadess.SensorProxy.Compass' SYSTEM_BUS = True CAMEL_TO_SNAKE_CASE_RE = re.compile(r'(?