#NEWLINE# def test_build_user_agent( self ) : #NEWLINE# #INDENT# ua = bt . build_user_agent ( ) #NEWLINE# self . assertTrue ( ( ua != '' ) ) #NEWLINE# self . assertTrue ( ( type ( ua ) in ( type ( b'' ) , type ( '' ) ) ) )