X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=tests%2Ftest_controller.py;h=9a73ea8a59a78ce18d2feb7531a28721ba0fae1e;hb=36d6d9b1ad748c7e05d6192563727b74a208afd5;hp=f243bf7cb35e93d2c7a0d2c021145eca700dd8a6;hpb=6803b12d1c2af87c57d7dccaced70b49bcb44815;p=ric-plt%2Fa1.git diff --git a/tests/test_controller.py b/tests/test_controller.py index f243bf7..9a73ea8 100644 --- a/tests/test_controller.py +++ b/tests/test_controller.py @@ -400,6 +400,14 @@ def test_healthcheck(client): assert res.status_code == 200 +def test_metrics(client): + """ + test Prometheus metrics + """ + res = client.get("/a1-p/metrics") + assert res.status_code == 200 + + def teardown_module(): """module teardown""" a1rmr.stop_rmr_thread()