| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
| |
Since I've increased the minimum Python version to 3.4, mock is now
available within Python. And since I already used absl-py parameterized for
test_common, make use of it to avoid boilerplate.
|
|
|
|
|
| |
This makes it easier to figure out which files represent drivers, and which
ones are per-vendor support modules.
|
|
|
|
|
| |
Most glucometers have *some* sort of checksum, so there is no reason to
implement this on a per-driver basis.
|
|
|
|
|
| |
The function is not shared with the Ultra Easy and likely not with
other devices either.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Unlike what I though, OneTouch2 does not use CRC32 Sick algorithm, but
a very stupid full 16-bit modulo sum of the bytes in the reply.
This is very simple and does not require GPLv3 code at all.
|
|
|
|
|
|
|
| |
This introduced some changes in the Exception class to simplify the
code, and at the same time it adds a module for multiple lifescan
drivers to share code (multiple OneTouch protocols share the same
checksum for instance).
|
| |
|
| |
|
| |
|
|
|