Added a comment about the test strategy in the config errors.
This commit is contained in:
parent
991f070e9f
commit
a2b25ce23e
|
|
@ -1,6 +1,12 @@
|
||||||
"""
|
"""
|
||||||
Tests for KiCad configuration load
|
Tests for KiCad configuration load
|
||||||
|
|
||||||
|
Is quite hard to test this without messing with the system.
|
||||||
|
For this reason this test is more 'traditional' and uses pytest tools to
|
||||||
|
pretend we are under certain situations.
|
||||||
|
I like the other strategy: test the whole script doing something real.
|
||||||
|
But here the monkeypatch and raises tools make a huge difference.
|
||||||
|
|
||||||
For debug information use:
|
For debug information use:
|
||||||
pytest-3 --log-cli-level debug
|
pytest-3 --log-cli-level debug
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue