From 43644d8a56bc95104d4e338b72f3128f7aa15194 Mon Sep 17 00:00:00 2001 From: Andrew Beveridge Date: Thu, 16 May 2019 23:39:31 +0100 Subject: [PATCH] Changelog for upcoming release --- HISTORY.rst | 8 ++++++++ tests/test_cli.py | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 006322f..04ff3fe 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,14 @@ History ======= +0.3.0 (2019-05-16) +------------------ +* Cleaned up shutdown code +* Create retry logic throughout to deal with disconnect and other failures +* Added functionality to deal with state maintenance +* Updated dependencies +* Removed flaky test + 0.2.1 (2019-02-02) ------------------ * Made websocket library usage backwards-compatible with older versions diff --git a/tests/test_cli.py b/tests/test_cli.py index 0dbb036..70fdc2a 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -64,14 +64,6 @@ def test_cli_state(self): result = runner.invoke(cli.cli, ['state']) assert 'No host name given, see usage below' in result.output - def test_cli_unconnectable_host_state(self): - """Test the CLI.""" - runner = CliRunner() - result = runner.invoke(cli.cli, ['--host', '127.0.0.100', 'state']) - assert 'Initialising SonoffSwitch with host 127.0.0.100' in \ - result.output - assert 'Unable to connect' in result.output - def test_cli_discover(self): """Test the CLI.""" runner = CliRunner()