KanoComputing / kano-profile

Tool to communicate with Kano-World
GNU General Public License v2.0
6 stars 6 forks source link

[WIP] Tests for tracker.tracking_uuids #447

Open radujipa opened 6 years ago

radujipa commented 6 years ago

This adds tests for the new tracking_uuids module.

It is currently a work in progress because of the Remove code execution at import time commit, but the tests are done.

For now, I've been running it like this:

radu@Radus-MacBook-Pro:~/Kano/kano-profile$ PYTHONPATH=../kano-toolset:../kano-i18n:PYTHONPATH pytest -ra tests/profile/tracking/test_tracking_uuids.py
============================ test session starts ============================
platform darwin -- Python 2.7.10, pytest-3.4.0, py-1.5.2, pluggy-0.6.0
rootdir: /Users/radu/Kano/kano-profile, inifile: pytest.ini
plugins: pyfakefs-3.3, cov-2.5.1
collected 401 items

tests/profile/tracking/test_tracking_uuids.py ....................... [ 5%]
..................................................................... [ 22%]
..................................................................... [ 40%]
..................................................................... [ 57%]
..................................................................... [ 74%]
..................................................................... [ 91%]
................................. [100%]

======================== 401 passed in 3.57 seconds =========================