#NEWLINE# def test_naming( self ) : #NEWLINE# #INDENT# '\n        Newly created volumes get the "Name" tag set to a human-readable name.\n        ' #NEWLINE# try : #NEWLINE# #INDENT# config = get_blockdevice_config ( ) #NEWLINE# #UNINDENT# except InvalidConfig as e : #NEWLINE# #INDENT# self . skipTest ( str ( e ) ) #NEWLINE# #UNINDENT# dataset_id = uuid4 ( ) #NEWLINE# flocker_volume = self . api . create_volume ( dataset_id = dataset_id , size = dataset_id . minimum_allocatable_size ) #NEWLINE# ec2_client = get_ec2_client_for_test ( config ) #NEWLINE# volume = ec2_client . connection . Volume ( flocker_volume . blockdevice_id ) #NEWLINE# name = _get_volume_tag ( volume , 'Name' ) #NEWLINE# self . assertEqual ( name , 'flocker-{}' . format ( dataset_id ) )