def test_get_platform_returns_platform_system():
 p = helpers.platform.system
 helpers.platform.system = (lambda : 'Sega Saturn')
 assert (helpers.get_platform() == 'Sega Saturn')
 helpers.platform.system = p

def test_get_platform_returns_platform_system ( ) : p = helpers . platform . system helpers . platform . system = ( lambda : 'Sega Saturn' ) assert ( helpers . get_platform ( ) == 'Sega Saturn' ) helpers . platform . system = p
get_platform() returns platform .