#NEWLINE# @ pytest . fixture #NEWLINE# def site( live_server ) : #NEWLINE# #INDENT# client = Client ( live_server ) #NEWLINE# site_uri = reverse ( 'site-list' ) #NEWLINE# resp = client . create ( site_uri , name = 'Test Site' ) #NEWLINE# site = TestSite ( resp . json ( ) ) #NEWLINE# return site