v.0.8.9
Fixed detection of Docker
Fixes #51

You can test it running something similar to:
sudo docker run -it -exec --mount type=bind,source=/home/carles/Desktop/code/ctop_pro/src/ctop/,target=/ctop python /ctop/ctop.py

Or
sudo docker run -it -exec --mount type=bind,source=/home/carles/Desktop/code/ctop_pro/src/ctop/,target=/ctop ubuntu /bin/bash
And installing python3 and runnint /ctop/ctop.py

Changed import in test_ctop.py that was causing the test to not find the package.

Added some tests for OsUtils class.

Modified OsUtils.get_total_and_free_space_in_gib() to return float instead of Integer.

Added OsUtils test_get_inodes_in_use_and_free().

Memory line adapts to the width available in the Terminal.
Closes #52

Added more tests to OsUtils class achieving 72% code coverage.

Fixed test for OsUtils.get_uptime()

Added 100% Test Code Coverage to DateTimeUtils class.

Added 100% Test Code Coverage to SystemUtils class.

Added Test file for PythonUtils class.
Increase Code Coverage for PythonUtils class.

Added test_memutils Unit Testing.

Added test_memutils.test_update_meminfo_with_empty_results() and test_memutils.test_update_meminfo_with_proc_meminfo_results()
Added more cove coverage to memutils up to 100%.

Fixed a bug in get_swapinuse.

Refactor to renderblock to use MemUtils.get_swapinuse_in_kb().
Added optional parameter to MemUtils.get_swapinuse_in_kb() to return kB units or not.

Refactor to extract reading file from MemUtils.update_meminfo()

Change in osutils.get_total_and_free_space_in_gib() to get the space from round(f_total_gb ,2) instead of "%.2f" % f_total_gb

Fixed imports in test_osutils.py test_pythonutils.py test_renderblocks.py test_systemutils.py so automated tests from Jenkins work.

v.0.8.9 Fixed detection of Docker Fixes #51

You can test it running something similar to: sudo docker run -it -exec --mount type=bind,source=/home/carles/Desktop/code/ctop_pro/src/ctop/,target=/ctop python /ctop/ctop.py

Or sudo docker run -it -exec --mount type=bind,source=/home/carles/Desktop/code/ctop_pro/src/ctop/,target=/ctop ubuntu /bin/bash And installing python3 and runnint /ctop/ctop.py

Changed import in test_ctop.py that was causing the test to not find the package.

Added some tests for OsUtils class.

Modified OsUtils.get_total_and_free_space_in_gib() to return float instead of Integer.

Added OsUtils test_get_inodes_in_use_and_free().

Memory line adapts to the width available in the Terminal. Closes #52

Added more tests to OsUtils class achieving 72% code coverage.

Fixed test for OsUtils.get_uptime()

Added 100% Test Code Coverage to DateTimeUtils class.

Added 100% Test Code Coverage to SystemUtils class.

Added Test file for PythonUtils class. Increase Code Coverage for PythonUtils class.

Added test_memutils Unit Testing.

Added test_memutils.test_update_meminfo_with_empty_results() and test_memutils.test_update_meminfo_with_proc_meminfo_results() Added more cove coverage to memutils up to 100%.

Fixed a bug in get_swapinuse.

Refactor to renderblock to use MemUtils.get_swapinuse_in_kb(). Added optional parameter to MemUtils.get_swapinuse_in_kb() to return kB units or not.

Refactor to extract reading file from MemUtils.update_meminfo()

Change in osutils.get_total_and_free_space_in_gib() to get the space from round(f_total_gb ,2) instead of "%.2f" % f_total_gb

Fixed imports in test_osutils.py test_pythonutils.py test_renderblocks.py test_systemutils.py so automated tests from Jenkins work.