#NEWLINE# def test_usernames_with_periods( self ) : #NEWLINE# #INDENT# u = UserFactory ( username = 'something.something' ) #NEWLINE# url = reverse ( 'user-detail' , args = [ u . username ] ) #NEWLINE# res = self . client . get ( url ) #NEWLINE# eq_ ( res . status_code , 200 ) #NEWLINE# eq_ ( u . data [ 'username' ] , u . username )