#NEWLINE# def test_valid( self ) : #NEWLINE# #INDENT# field = forms . JSONField ( ) #NEWLINE# value = field . clean ( '{"a": "b"}' ) #NEWLINE# self . assertEqual ( self , { #NEWLINE# #INDENT# 'a' : 'b' , #NEWLINE# #UNINDENT# } )