#NEWLINE# def test_repr( self ) : #NEWLINE# #INDENT# '\n        The string representation of ``AttachedUnexpectedDevice`` includes the\n        requested device name and the discovered device name.\n        ' #NEWLINE# requested = FilePath ( b'/dev/sda' ) #NEWLINE# discovered = FilePath ( b'/dev/sdb' ) #NEWLINE# expected = "AttachedUnexpectedDevice(requested='/dev/sda', discovered='/dev/sdb')" #NEWLINE# self . assertEqual ( expected , repr ( AttachedUnexpectedDevice ( discovered , discovered ) ) )