Newby to HA Development… Wondering if I am doing something wrong here…
I have setup a Code Dev Container (MacOSX, Docker) and went through the long process of setting uop the container… install dependencies etc…
Now I just want to run a couple of tests inside the container as I am developing, and run the following command from the terminal:
tox -e py36 -- tests/components/template/test_cover.py
This then takes over 8 minutes to run, each and every time… It seem like every time it builds the
.tox\dist\homeassistant-0.98.0.dev0.zip file (takes a while) and then runs throuh:
py36 inst-nodeps: /workspaces/home-assistant/.tox/.tmp/package/2/homeassistant-0.98.0.dev0.zip py36 installed: <redacted> py36 run-test-pre: PYTHONHASHSEED='1246295556' py36 run-test: commands | pytest --timeout=9 --durations=10 -qq -o console_output_style=count -p no:sugar tests/components/template/test_cover.py
here is the
time is takes to run:
real 8m45.841s user 0m52.990s sys 0m44.510s
So am I doing it wrong?
Thanks for any help.