Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-11-16 | tests: simplify and cleanup. | Diego Elio Pettenò | 1 | -9/+2 | |
* Remove the __main__ blocks as the tests should not be executable by themselves. * Use absltest everywhere instead of a mixture of unittest/absltest (via parameterized). * Only modify import path once. * Cleanup pylint warnings, by disabling those that are not useful, and fixing those that are. | |||||
2018-01-01 | tests: improve code quality by passing the linter. | Diego Elio Pettenò | 1 | -4/+3 | |
2017-12-29 | Add more tests to cover the basic translation of objects to strings. | Diego Elio Pettenò | 1 | -0/+74 | |
This would have found an extra bug that was pushed unfixed after enum conversion, and two bugs that I did find during the conversion. | |||||
2017-12-28 | test_common: use absl-py to increase coverage, and simplify. | Diego Elio Pettenò | 1 | -8/+23 | |
This ensures the tests run independently instead of failing at the first mistake. | |||||
2017-12-28 | accucheck_reports: fix bug for mg/dL native meters. | Diego Elio Pettenò | 1 | -10/+2 | |
This was mixing up the units in the conversion. While fixing the bug, remove the confusing two-parameter form of convert_glucose_unit. | |||||
2017-12-28 | Use Python3 Enum class for glucose units. | Diego Elio Pettenò | 1 | -7/+7 | |
This makes the code more idiomatic and less brittle. | |||||
2013-09-29 | Fix style for tests. | Diego Elio Pettenò | 1 | -28/+23 | |
2013-08-03 | Relicense everything under MIT license. | Diego Elio Pettenò | 1 | -1/+1 | |
There is no reason for me to use GPLv3 now that I'm not using the CRC32-Sick code, so I'll go with the most liberal license out there. | |||||
2013-08-03 | Update function names to follow PEP8. | Diego Elio Pettenò | 1 | -8/+8 | |
2013-08-03 | Add utf-8 encoding specification to all files. | Diego Elio Pettenò | 1 | -0/+1 | |
2013-08-03 | Add tests for the glucose unit conversion. | Diego Elio Pettenò | 1 | -0/+53 | |