#NEWLINE# def test_simple2( self ) : #NEWLINE# #INDENT# repo = Repository ( [ self . mkl_10_1_0 , self . mkl_10_2_0 ] ) #NEWLINE# pool = Pool ( [ repo ] ) #NEWLINE# self . assertEqual ( self . mkl_10_1_0 , pool . package_by_id ( self . mkl_10_1_0 . id ) ) #NEWLINE# self . assertEqual ( self . mkl_10_2_0 , pool . package_by_id ( self . mkl_10_2_0 . id ) ) #NEWLINE# self . assertRaises ( MissingPackageInfoInPool , ( lambda : pool . package_by_id ( self . mkl_10_3_0 . id ) ) )