refactor doctor.py into a directory

This commit is contained in:
Zach White 2021-06-21 22:22:35 -07:00
parent 286acfe7fd
commit e293bf243d
6 changed files with 70 additions and 49 deletions

View file

@ -0,0 +1,14 @@
import platform
from milc import cli
from .check import CheckStatus
def os_test_windows():
"""Run the Windows specific tests.
"""
win32_ver = platform.win32_ver()
cli.log.info("Detected {fg_cyan}Windows %s (%s){fg_reset}.", win32_ver[0], win32_ver[1])
return CheckStatus.OK