<s> from nose . tools import assert_equal <EOL> from hamms import get_header <EOL> req = "<STR_LIT:\r\n>" . join ( [ "<STR_LIT>" , <EOL> "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT:\r\n>" ] ) <EOL> noreq = "<STR_LIT:\r\n>" . join ( [ "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT:\r\n>" ] ) <EOL> def test_user_agent ( ) : <EOL> assert_equal ( "<STR_LIT>" , get_header ( "<STR_LIT>" , req ) ) <EOL> assert_equal ( "<STR_LIT>" , get_header ( "<STR_LIT>" , noreq ) ) </s>
