Commit Graph

449 Commits

Author SHA1 Message Date
SET 815e475b8d Added tests to exclude PCB and/or Stats info in CSV files. 2020-08-14 11:13:45 -03:00
SET ea8f318696 Added tests for TXT and quote_all 2020-08-14 10:21:21 -03:00
SET 552c3f861a Fixed separator for TSV and TXT 2020-08-14 10:20:29 -03:00
SET bcba581a01 Changed True -> true to make it uniform.
All YAML files are using lowecase.
2020-08-13 23:08:44 -03:00
SET 1782acfdea Added test case for inductor without unit.
Missing "H"
2020-08-13 23:08:04 -03:00
SET 07046f0d68 Updated README and generic example. 2020-08-13 23:07:21 -03:00
SET 7aaaa45eb2 Commented dead code.
Now that we guess the units from the prefix there is no need to match
missing units against known units.
2020-08-13 23:06:19 -03:00
SET 87a1a97e9a Added test for RLC normalization. 2020-08-13 22:46:53 -03:00
SET e35ef8ec3c Added options to normalize R, L and C values. 2020-08-13 22:45:25 -03:00
SET 7544f75a53 Fixed problems when comparing gray scale images. 2020-08-13 22:32:15 -03:00
SET ed538d9679 Reduced the calls to the complex value parsing in units.py
Now we call it just once for each component and store the result.
Then we use the stored value instead of computing it over and over.
In this way we save time and warnings about malformed values are
reported once. It reduced the number of warnings in the test case
from 39 to 3.
2020-08-13 21:43:28 -03:00
SET 2e4508ad50 Added code to tolerate KiCad version difference in images. 2020-08-13 20:18:59 -03:00
SET 02978aceb8 Removed extra spaces (flake8 details) 2020-08-13 20:18:22 -03:00
SET 5ad4687d9d Fixed missing argument in tests that should fail 2020-08-13 20:13:49 -03:00
SET d904dc516f Added a test for missing xlsxwriter module.
Is reported as an error, not fatal, but error.
2020-08-13 19:17:17 -03:00
SET 45a117afe5 Added missing locale test definitions.
The es_AR.UTF-8 is the needed, the en_US.UTF-8 is just to validate
the difference.
2020-08-13 17:28:06 -03:00
SET 3224a44173 Added test for decimal point locale support.
Hopefully works on docker ...
2020-08-13 16:59:12 -03:00
SET e11a5441d3 Added Makefile target to get a shell on docker test image. 2020-08-13 16:58:04 -03:00
SET b50aaf7806 Added support for locale's decimal point. 2020-08-13 13:11:27 -03:00
SET bfc6e07481 Avoid to apply RLC sorting to "RL*" components.
Also apply it to "RV*" and "RT*"
2020-08-13 12:58:21 -03:00
SET 1067f364c8 Added more cases for the RLC sort test 2020-08-13 12:42:16 -03:00
SET 73d7af9e1d Code clean-up and better error report in units.py 2020-08-13 12:41:26 -03:00
SET 40f1a9da34 Added some comments about unreachable code in units.py
Also removed some empty lines.
2020-08-13 11:28:15 -03:00
SET 50826a80c1 Fixed ohm symbol detection
We use lowercase matching so we have to match with lowercase omega.
2020-08-13 11:26:29 -03:00
SET 548981e27e Added support for micro, not just mu.
Now both are supported:
GREEK SMALL LETTER MU U+03BC
MICRO SIGN U+00B5
2020-08-13 11:23:48 -03:00
SET b60b0ef680 Added test for wrong logo format. 2020-08-12 20:35:34 -03:00
SET 3df9e8b1c7 Added test for invalid column name 2020-08-12 20:32:35 -03:00
SET 535949e159 Added test for explicit exclude_any regex 2020-08-12 20:10:34 -03:00
SET 9a0e2bdd24 Fixed flake8 small details 2020-08-12 20:09:58 -03:00
SET f231ac6835 Updated the README and the generic example. 2020-08-12 20:08:44 -03:00
SET 8d79101a36 Removed the dots used to keep the indentation in the YAML example. 2020-08-12 20:07:47 -03:00
SET fc43a293e4 Fixed missing : in exclude_any example. 2020-08-12 20:07:06 -03:00
SET 1dcda68cbc Added tests for missing styles and logos. 2020-08-12 19:49:27 -03:00
SET 270ab0b70e Moved all the common HTML and XLSX options to a base class
To avoid repetition.
2020-08-12 19:32:14 -03:00
SET 7f45f022c7 Added tests for various HTML header layouts. 2020-08-12 19:13:41 -03:00
SET c263859de6 Made the "Total Compomponents" label coherent between HTML and XLSX 2020-08-12 19:12:35 -03:00
SET eef8041843 Better test for multiple digikey links 2020-08-12 17:56:14 -03:00
SET ec821f7809 Added test for multiple digikey links. 2020-08-12 17:35:55 -03:00
SET 5a1a38a0ca Added test for missing field in column list (internal BoM) 2020-08-12 17:34:05 -03:00
SET ec70ac23c3 Excluded from coverage the lines ocluded by the macros. 2020-08-12 15:56:29 -03:00
SET 951dbc510b Fixed XLSX tests when no links. 2020-08-12 15:47:14 -03:00
SET 768d67d0ad Added datasheet and digikey link tests for XLSX 2020-08-12 15:40:47 -03:00
SET 56c30f4227 Added test for "generate_dnf: false" for the XLSX 2020-08-12 14:35:27 -03:00
SET 2196d498ff Fixed "generate_dnf: False" for XLSX 2020-08-12 14:34:09 -03:00
SET 3687ccb0bf Forced column wrap during the tests of XLSX format. 2020-08-12 13:33:07 -03:00
SET a915ac63f1 Removed dead code. 2020-08-12 13:32:30 -03:00
SET bbea3ad328 Retest forced. 2020-08-12 13:09:02 -03:00
SET 9b5259a18d Added some logo images.
"Ki" from KiCad, the funny bot and the combination in two resolutions.
2020-08-12 13:07:26 -03:00
SET e570cf4f89 Added a target to quick test a group of pytests
Needs the pytest-xdist plug-in and is tuned for a 6 core CPU.
Ryzen 5 to be more specific.
2020-08-12 13:04:24 -03:00
SET 92cdf49c2d Added XLSX tests for style variations.
Just tested they are accepted, not correctness.
2020-08-12 13:03:08 -03:00