Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_openapi: Use subtests for arguments test.
Zixuan James Liaa5765ca6403
diff --git a/zerver/tests/test_openapi.py b/zerver/tests/test_openapi.pyindex 6d380bd9102..cb306b1e4f3 100644--- a/zerver/tests/test_openapi.py+++ b/zerver/tests/test_openapi.py@@ -614,7 +614,8 @@ so maybe we shouldn't include it in pending_endpoints.function_name = f"{function.__module__}.{function.__name__}"- self.check_openapi_arguments_for_view(p, function_name, function, method, tags)+ with self.subTest(function_name):+ self.check_openapi_arguments_for_view(p, function_name, function, method, tags)self.check_for_non_existent_openapi_endpoints()