Test tweaks and linting
authorPhil Howard <phil@gadgetoid.com>
Tue, 17 Mar 2020 11:37:53 +0000 (11:37 +0000)
committerPhil Howard <phil@gadgetoid.com>
Tue, 17 Mar 2020 11:37:53 +0000 (11:37 +0000)
commitbe4d0fc9022240b5047654523aab877cbaa8a73d
tree67626a1d0d7fd720e4461a9011f25e393182f13c
parent97ee1d88e84df79d82c3ca20eb89378c65197f9a
Test tweaks and linting

I've re-written the tests to use conftest.py to set up and tear down mock modules via fixtures.

I have also linted the examples, removing redundant linebreaks, commenting out unused variables and attempting to simplify long lines.
examples/all-in-one-no-pm.py
examples/all-in-one.py
examples/combined.py
examples/luftdaten.py
examples/noise-amps-at-freqs.py
examples/noise-profile.py
examples/weather-and-light.py
library/tests/conftest.py [new file with mode: 0644]
library/tests/test_setup.py