From 7c9989d9992448460d17f0acf10354bdaf1f087e Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 21 Sep 2017 23:57:55 +0300 Subject: [PATCH] Fix tests for "platform" command --- tests/commands/test_platform.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/commands/test_platform.py b/tests/commands/test_platform.py index bdc50916..f6b1771a 100644 --- a/tests/commands/test_platform.py +++ b/tests/commands/test_platform.py @@ -54,11 +54,11 @@ def test_install_unknown_from_registry(clirunner, validate_cliresult, def test_install_known_version(clirunner, validate_cliresult, isolated_pio_home): result = clirunner.invoke(cli_platform.platform_install, [ - "atmelavr@1.1.0", "--skip-default-package", "--with-package", + "atmelavr@1.2.0", "--skip-default-package", "--with-package", "tool-avrdude" ]) validate_cliresult(result) - assert "atmelavr @ 1.1.0" in result.output + assert "atmelavr @ 1.2.0" in result.output assert "Installing tool-avrdude @" in result.output assert len(isolated_pio_home.join("packages").listdir()) == 1 @@ -102,7 +102,7 @@ def test_update_check(clirunner, validate_cliresult, isolated_pio_home): def test_update_raw(clirunner, validate_cliresult, isolated_pio_home): result = clirunner.invoke(cli_platform.platform_update) validate_cliresult(result) - assert "Uninstalling atmelavr @ 1.1.0:" in result.output + assert "Uninstalling atmelavr @ 1.2.0:" in result.output assert "PlatformManager: Installing atmelavr @" in result.output assert len(isolated_pio_home.join("packages").listdir()) == 1