#NEWLINE# def test__build_keys_minutes( self ) : #NEWLINE# #INDENT# 'Tests ``R._build_keys``. with a *minutes* granularity.' #NEWLINE# d = datetime ( 2012 , 4 , 1 , 11 , 30 ) #NEWLINE# keys = self . r . _build_keys ( 'test-slug' , date = d , granularity = 'minutes' ) #NEWLINE# self . assertEqual ( keys , [ 'm:test-slug:i:2012-04-01-11-30' ] )