#NEWLINE# @ run_with_all_backends #NEWLINE# def test_form_extras( self ) : #NEWLINE# #INDENT# domain = uuid . uuid4 ( ) . hex #NEWLINE# LOOSE_SYNC_TOKEN_VALIDATION . set ( domain , True , namespace = 'domain' ) #NEWLINE# token_id = uuid . uuid4 ( ) . hex #NEWLINE# factory = CaseFactory ( domain = domain ) #NEWLINE# [ case ] = factory . create_or_update_case ( CaseStructure ( ) , form_extras = { #NEWLINE# #INDENT# 'last_sync_token' : token_id , #NEWLINE# #UNINDENT# } ) #NEWLINE# form = FormAccessors ( domain ) . get_form ( factory . xform_ids [ 0 ] ) #NEWLINE# self . assertEqual ( token_id , form . last_sync_token )