]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
test: Fix names of test cases added in #3405
authorBen Darnell <ben@bendarnell.com>
Thu, 11 Jul 2024 15:39:10 +0000 (11:39 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 11 Jul 2024 15:39:10 +0000 (11:39 -0400)
Oops, these tests were named backwards.

tornado/test/httpserver_test.py

index 2112be668c5a36ee3a2d035cb85dfdc126c94dc0..330140b2ab578de7cad7de415307da351839dd48 100644 (file)
@@ -868,8 +868,7 @@ class UnixSocketTest(AsyncTestCase):
     not hasattr(socket, "AF_UNIX") or sys.platform == "cygwin",
     "unix sockets not supported on this platform",
 )
-class UnixSocketTestAbstract(UnixSocketTest):
-
+class UnixSocketTestFile(UnixSocketTest):
     def setUp(self):
         self.tmpdir = tempfile.mkdtemp()
         self.address = os.path.join(self.tmpdir, "test.sock")
@@ -884,8 +883,7 @@ class UnixSocketTestAbstract(UnixSocketTest):
     not (hasattr(socket, "AF_UNIX") and sys.platform.startswith("linux")),
     "abstract namespace unix sockets not supported on this platform",
 )
-class UnixSocketTestFile(UnixSocketTest):
-
+class UnixSocketTestAbstract(UnixSocketTest):
     def setUp(self):
         self.address = "\0" + uuid.uuid4().hex
         super().setUp()