#NEWLINE# def test_bundle_name_clash( self ) : #NEWLINE# #INDENT# document = ProvDocument ( ) #NEWLINE# def test( ) : #NEWLINE# #INDENT# document . bundle ( EX_NS [ 'indistinct' ] ) #NEWLINE# document . bundle ( EX_NS [ 'indistinct' ] ) #NEWLINE# #UNINDENT# self . assertRaises ( ProvException , test ) #NEWLINE# document = ProvDocument ( ) #NEWLINE# def test( ) : #NEWLINE# #INDENT# document . bundle ( EX_NS [ 'indistinct' ] ) #NEWLINE# bundle = ProvBundle ( identifier = EX_NS [ 'indistinct' ] ) #NEWLINE# document . add_bundle ( bundle ) #NEWLINE# #UNINDENT# self . assertRaises ( ProvException , test )