diff --git a/atom.xml b/atom.xml index 4940a44461..89c6cdb715 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 5cb2ab5dbf..62bebf08b3 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 71dc3b06b4..7939d09aaa 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 5cfcfe6e23..64bd8dc3c7 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 40541b0835..9a732de127 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 5591849de8..60d4925fc3 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 428f4b8a17..05bc508d2a 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 009088afb4..80b4afe700 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 9cc4b18719..9638ccbd64 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 7cedc1b8b6..82f9642d46 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 93807f12c7..4aa52cf3f9 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 23f0947b8c..6a8c5ab0fa 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 0ada908317..302aa6a858 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index c151192077..3d0ae6ea92 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 001d2dce4c..bca6709a01 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index eba98983c0..652e577de1 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index f0d66646e9..3d5854fa01 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index d641e50eed..940fe35cb2 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 6cbc89194d..31f9e5523b 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index a1bab2e989..dc07306207 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-08-20T21:14:08+00:00 + 2016-08-20T23:14:20+00:00 https://home-assistant.io/ diff --git a/developers/development_testing/index.html b/developers/development_testing/index.html index 7e58f49121..e65e9692bc 100644 --- a/developers/development_testing/index.html +++ b/developers/development_testing/index.html @@ -111,9 +111,21 @@

This will run unit tests against python 3.4 and 3.5 (if both are available locally), as well as run a set of tests which validate pep8 and pylint style of the code.

-

You can optionally run tests on only one tox target using the -e option to select an environment.

+

Testing Tips

-

For instance tox -e lint will run the linters only, tox -e py34 will run unit tests only on python 3.4.

+

You can optionally run tests on only one tox target using the -e option to select an environment. For instance tox -e lint will run the linters only, tox -e py34 will run unit tests only on python 3.4.

+ +

Tox uses virtual environments under the hood to create isolated testing environments. The Tox virtual environments will get out date when requirements change causing test errors. Run tox -r to create new Tox virtual environments.

+ +

During development on a specific file, it can speed up your workflow to just run tests and linting related to the file that you’re working on. To run individual files:

+ +
+
$ flake8 homeassistant/core.py
+$ pylint homeassistant/core.py
+$ py.test tests/test_core.py
+
+
+

Prevent Linter Errors

diff --git a/sitemap.xml b/sitemap.xml index 1cb2eebb11..14c5fce31f 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2095,62 +2095,62 @@ https://home-assistant.io/demo/frontend.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/index.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:39+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:40+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:40+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-08-20T21:13:24+00:00 + 2016-08-20T23:13:40+00:00