diff --git a/Makefile b/Makefile index 05902e83..8c94bc47 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ deps: ## Install dependencies python -m pip install --upgrade pip python -m pip install black flake8 flit pylint tox tox-gh-actions semantic_version polib python -m pip install click pyserial requests + python -m pip install pytest cenv: ## Create the virtual-environment and update dependencies python3 -m venv venv @@ -31,4 +32,4 @@ install: ## Install the tool locally flit install tests: ## Make tests - py.test apio test \ No newline at end of file + pytest apio test \ No newline at end of file diff --git a/test/env_commands/test_system.py b/test/env_commands/test_system.py index 56a0a35b..6dccde9e 100644 --- a/test/env_commands/test_system.py +++ b/test/env_commands/test_system.py @@ -11,7 +11,7 @@ def test_system_lsftdi(clirunner, configenv): configenv() result = clirunner.invoke(cmd_system, ['--lsftdi']) assert result.exit_code == 1 - assert 'apio install system' in result.output + assert 'apio install oss-cad-suite' in result.output def test_system_lsusb(clirunner, configenv): @@ -19,7 +19,7 @@ def test_system_lsusb(clirunner, configenv): configenv() result = clirunner.invoke(cmd_system, ['--lsusb']) assert result.exit_code == 1 - assert 'apio install system' in result.output + assert 'apio install oss-cad-suite' in result.output def test_system_lsserial(clirunner, configenv):