def testGoToGopherPlus(self): assert isinstance(testutil.gettestingprotocol("/gopher+-request.txt\t+\n"), pygopherd.protocols.gopherp.GopherPlusProtocol)
def testGoToHTTP(self): assert isinstance(testutil.gettestingprotocol("GET /http-request.txt HTTP/1.0\n\n"), pygopherd.protocols.http.HTTPProtocol)
def testGoToGopher(self): assert isinstance(testutil.gettestingprotocol("/gopher0-request.txt\n"), pygopherd.protocols.rfc1436.GopherProtocol)