#NEWLINE# def test_get_experiment( self ) : #NEWLINE# #INDENT# b = self . b #NEWLINE# b . save_experiment ( 'text_size' , ( 'small' , 'medium' , 'large' ) ) #NEWLINE# e = b . get_experiment ( 'text_size' , ( 'small' , 'medium' , 'large' ) ) #NEWLINE# assert isinstance ( e , Experiment ) #NEWLINE# assert ( e . name == 'text_size' ) #NEWLINE# assert ( e . started_on . date ( ) == datetime . utcnow ( ) . date ( ) ) #NEWLINE# assert ( e . variants == ( 'small' , 'medium' , 'large' ) )