1
0
Fork 0

Refactor doctor.py into a directory (#13298)

This commit is contained in:
Zach White 2021-06-22 11:50:53 -07:00 committed by GitHub
parent d61e5c0027
commit e87d231645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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