#NEWLINE# def test_configure_add_check_metadata_with_no_id_or_mountpoint( self ) : #NEWLINE# #INDENT# metadata = { #NEWLINE# #INDENT# 'mountpoint' : '/tmp' , #NEWLINE# #UNINDENT# } #NEWLINE# self . _create_metadata_json_file ( metadata ) #NEWLINE# self . assertRaises ( exceptions . BadStoreConfiguration , self . store . configure_add ) #NEWLINE# metadata = { #NEWLINE# #INDENT# 'id' : 'asdfg1234' , #NEWLINE# #UNINDENT# } #NEWLINE# self . _create_metadata_json_file ( metadata ) #NEWLINE# self . assertRaises ( exceptions . BadStoreConfiguration , self . store . configure_add )