Files
Nafees MadniandGitHub f43721e82d fix(controllers): register ping health check router
Expose the existing /ping endpoint through the root API router.
2026-08-21 10:27:26 +08:00

15 lines
280 B
Python

import unittest
from app.controllers import ping as ping_controller
class TestPingController(unittest.TestCase):
def test_ping(self):
response = ping_controller.ping(None)
self.assertEqual(response, "pong")
if __name__ == "__main__":
unittest.main()