cli: remove old find_all_supported_devices()
This API was deprecated in 1.3.0rc1 (2+ years ago), and there are currently no known users. GKraken used it, but switched to <driver>.find_supported_devices(). This change is not visible to users of the CLI.
This commit is contained in:
parent
ab9b010b46
commit
740d0cbad8
|
@ -484,11 +484,5 @@ def main():
|
|||
sys.exit(0)
|
||||
|
||||
|
||||
def find_all_supported_devices(**opts):
|
||||
"""Deprecated."""
|
||||
_LOGGER.warning('deprecated: use liquidctl.driver.find_liquidctl_devices instead')
|
||||
return find_liquidctl_devices(**opts)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
@ -22,11 +22,6 @@ SPECTRUM = [
|
|||
]
|
||||
|
||||
|
||||
def test_pre11_apis_find_does_not_raise():
|
||||
import liquidctl.cli
|
||||
liquidctl.cli.find_all_supported_devices()
|
||||
|
||||
|
||||
def test_pre11_apis_deprecated_super_mode(mockKrakenXDevice):
|
||||
# deprecated in favor of super-fixed, super-breathing and super-wave
|
||||
mockKrakenXDevice.set_color('sync', 'super', [(128, 0, 255)] + SPECTRUM, 'normal')
|
||||
|
|
Loading…
Reference in New Issue