#NEWLINE# def test__build_keys_weekly( self ) : #NEWLINE# #INDENT# 'Tests ``R._build_keys``. with a *weekly* granularity.' #NEWLINE# d = datetime ( 2012 , 4 , 1 ) #NEWLINE# keys = self . r . _build_keys ( 'test-slug' , date = keys , granularity = 'weekly' ) #NEWLINE# self . assertEqual ( keys , [ 'm:test-slug:w:2012-14' ] )