#NEWLINE# def test_ab_test_does_not_increment_the_participation_count( self ) : #NEWLINE# #INDENT# Experiment . find_or_create ( self . redis , 'link_color' , 'blue' , 'red' ) #NEWLINE# red = Alternative ( self . redis , 'red' , 'link_color' ) #NEWLINE# blue = Alternative ( self . redis , 'blue' , 'link_color' ) #NEWLINE# previous_red_count = red . participant_count #NEWLINE# previous_blue_count = blue . participant_count #NEWLINE# ab_test ( 'link_color' , 'blue' , 'red' ) #NEWLINE# new_red_count = red . participant_count #NEWLINE# new_blue_count = blue . participant_count #NEWLINE# assert ( ( new_red_count + new_blue_count ) == ( previous_red_count + previous_blue_count ) )