(self, request)
return json.dumps([mock.domain() for mock in self.core.domains])
:return: The list of all domain mocks
        :rtype: Bytes of JSON serialized list
:return: The list of all domain mocks
        :rtype: Bytes of JSON serialized list
: return : The list of all domain mocks : rtype : Bytes of JSON serialized list
def get_domain_mocks(self, request):
        """
        :return: The list of all domain mocks
        :rtype: Bytes of JSON serialized list
        """
        request.setResponseCode(200)
        return json.dumps([mock.domain() for mock in self.core.domains])
def get_domain_mocks ( self , request ) : request . setResponseCode ( 200 ) return json . dumps ( [ mock . domain ( ) for mock in self . core . domains ] )