This commit is contained in:
Eric Hanko 2017-02-24 20:14:54 -08:00
Родитель ef066a7bf0
Коммит ffd99f390f
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -12,7 +12,7 @@ from inqry import macdisk
# import linux_sysinfo as sysinfo
# etc
def _create_specs_from_system_profiler_hardware_output(output):
def create_specs_from_system_profiler_hardware_output(output):
return SystemSpecs(output)
@ -21,7 +21,7 @@ def mac_os():
This function is used as the primary means of obtaining basic Mac
hardware components.
"""
return _create_specs_from_system_profiler_hardware_output(
return create_specs_from_system_profiler_hardware_output(
system_profiler.hardware())

Просмотреть файл

@ -88,7 +88,7 @@ def test_ability_to_get_components_from_system_profile_object():
def test_mac_hardware_method_output_data_type_is_system_specs_class():
assert isinstance(systemspecs.get_mac_hardware(), systemspecs.SystemSpecs)
assert isinstance(systemspecs.mac_os(), systemspecs.SystemSpecs)
# def test_if_disk_list_is_list(test_disk):