Skip to content

Commit 5884dc8

Browse files
davegravyfabaff
authored andcommitted
Fixed command for installing all test requirements (home-assistant#3787)
previous command was giving me: (venv) dgrant@16elford:~/home-assistant$ bash pip3 install -r requirements_test_all.txt import: unable to open X server `' @ error/import.c/ImportImageCommand/364. import: unable to open X server `' @ error/import.c/ImportImageCommand/364. from: can't read /var/mail/pip /home/dgrant/home-assistant/venv/bin/pip3: pip3: line 10: syntax error near unexpected token `(' /home/dgrant/home-assistant/venv/bin/pip3: pip3: line 10: ` sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])'
1 parent 48468bf commit 5884dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/developers/development_testing.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ tox -e py36 -- tests/test_core.py --duration=10
4242
Running tox will invoke the full test suite. Even if you specify which tox target to run, you still run all tests inside that target. That's not very convenient to quickly iterate on your code! To be able to run the specific test suites without Tox, you'll need to install the test dependencies into your Python environment:
4343

4444
```bash
45-
$ bash pip3 install -r requirements_test_all.txt
45+
$ pip3 install -r requirements_test_all.txt
4646
```
4747

4848
Now that you have all test dependencies installed, you can run tests on individual files:

0 commit comments

Comments
 (0)