<s> import unittest <EOL> from platform import system <EOL> from runners import ( <EOL> get_parse_function , <EOL> get_command , <EOL> make_error_format , <EOL> ) <EOL> from runners . pytest import parse as pytest_parse <EOL> from runners . nose import parse as nose_parse <EOL> class TestRunners ( unittest . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_get_pytest_parse_function ( self ) : <EOL> self . assertEqual ( <EOL> get_parse_function ( '<STR_LIT>' ) , <EOL> pytest_parse , <EOL> ) <EOL> def test_get_nose_parse_function ( self ) : <EOL> self . assertEqual ( <EOL> get_parse_function ( '<STR_LIT>' ) , <EOL> nose_parse , <EOL> ) <EOL> def test_nose_command ( self ) : <EOL> self . assertEqual ( <EOL> get_command ( '<STR_LIT>' ) , <EOL> "<STR_LIT>" , <EOL> ) <EOL> def test_pytest_command ( self ) : <EOL> if system ( ) . lower ( ) == '<STR_LIT>' : <EOL> self . assertEqual ( <EOL> get_command ( '<STR_LIT>' ) , <EOL> "<STR_LIT>" , <EOL> ) <EOL> else : <EOL> self . assertEqual ( <EOL> get_command ( '<STR_LIT>' ) , <EOL> "<STR_LIT>" , <EOL> ) <EOL> def test_make_error_format ( self ) : <EOL> self . assertEqual ( <EOL> make_error_format ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) , <EOL> "<STR_LIT>" , <EOL> ) </s>
