#NEWLINE# def test_cant_create_a_child_product( self ) : #NEWLINE# #INDENT# parent_product = create_product ( structure = 'parent' ) #NEWLINE# url = reverse ( 'dashboard:catalogue-product-create-child' , kwargs = { #NEWLINE# #INDENT# 'parent_pk' : parent_product . pk , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = self . get ( url , status = '*' ) #NEWLINE# self . assertEqual ( http_client . FORBIDDEN , response . status_code )