grafana_api_sdk icon indicating copy to clipboard operation
grafana_api_sdk copied to clipboard

feat: Use PDM and remove the setup.py file

Open ZPascal opened this issue 8 months ago • 9 comments
trafficstars

fix: #122

ZPascal avatar Mar 21 '25 23:03 ZPascal

Coverage Report
FileStmtsMissCoverMissing
src/grafana_api
   \_\_init\_\_.py00100% 
   admin.py16013312%27, 39–47, 63–85, 97–105, 117–125, 141–173, 190–206, 223–239, 255–268, 281–291, 304–314, 330–342, 359–373, 389–403, 415–425, 437–447, 459–469, 481–491, 503–513, 525–535, 547–557
   alerting.py2992658%26, 42–54, 73–101, 117–129, 148–161, 180–192, 208–220, 239–266, 282–294, 310–326, 342–354, 377–411, 431–490, 506–518, 534–546, 562–574, 591–604, 623–635, 662–705, 725–740, 760–774, 790–832, 857–910, 927–969, 981–990, 1004–1025, 1044–1065, 1077–1085
   alerting_notifications.py917513%19, 31–40, 52–61, 77–90, 106–119, 135–149, 168–182, 201–215, 231–244, 260–273, 289–303
   alerting_provisioning.py22818812%34, 50–62, 79–95, 115–131, 156–176, 192–207, 219–227, 248–273, 296–321, 337–351, 363–372, 389–405, 417–425, 441–453, 472–488, 511–527, 543–557, 569–577, 593–606, 626–642, 658–672, 686, 707–723, 736–746, 758, 785–793, 806–822, 834, 864–884, 898, 926–951
   annotations.py1181066%28, 43–100, 123–163, 183–214, 235–263, 286–299, 323–345
   api.py12210211%24, 52–96, 124–165, 191–232, 251–274, 287–296, 309–312, 326–349
   authentication.py312222%19, 37–46, 71–94, 115–129
   correlations.py624915%20, 37–50, 66–79, 91–107, 123–160, 177–192, 217–238
   dashboard.py2492208%20, 45–72, 91–112, 128–140, 152–160, 172–180, 199–232, 248–260, 276–288, 305–319, 336–350, 366–378, 394–406, 423–435, 452–464, 481–498, 515–532, 554–586, 606–628, 651–663, 686–728, 761–817, 842–869
   datasource.py29925810%27, 43–52, 72–85, 105–118, 138–151, 171–184, 203–217, 238–252, 272–285, 305–318, 338–351, 371–400, 416, 436–465, 489–530, 554–595, 622–667, 683, 703–717, 737–751, 771–784, 807–821, 842–855, 871, 891–903, 923–936, 956–969, 989–1002, 1025–1061, 1075, 1095–1107, 1127–1140
   external_group.py342520%19, 41–53, 77–91, 115–128
   folder.py12811010%21, 37–45, 65–77, 97–109, 133–156, 181–206, 227–246, 266–285, 305–318, 339–356, 372–392, 401–412
   legacy_alerting.py635212%20, 39–61, 80–102, 118–141, 158–178
   legacy_playlist.py554414%24, 40–52, 68–80, 96–108, 125–159, 175–189
   library.py847110%19, 51–73, 89–101, 117–129, 145–157, 186–219, 250–288, 304–319
   licensing.py261631%26, 42–50, 66–76, 92–102
   model.py373996%160–169
   organisation.py15112413%35–43, 59–67, 83–91, 112–126, 146–159, 179–193, 216–230, 264–276, 297–309, 326–334, 355–369, 390–404, 424–437, 457–469, 491–505, 527–541, 562–575
   playlist.py806711%24, 40–59, 75–87, 103–115, 131–143, 159–193, 210–244, 260–274
   preferences.py534313%19, 33–41, 66–97, 111–119, 144–175
   query_history.py705812%23, 40–76, 105–127, 143–155, 172–186, 202–216, 232–245
   rbac.py3883615%19, 35–56, 75–100, 120–144, 164–231, 252–320, 342–374, 397–426, 446–471, 495–527, 548–578, 607–643, 666–695, 715–740, 764–801, 824–860, 889–931, 954–983, 1004–1036, 1057–1087, 1114–1150, 1166–1192
   reporting.py1741567%28, 44–69, 89–117, 137–167, 188–220, 240–271, 295–336, 352–373, 393–465, 485–515, 519–636
   search.py14833%18, 34–44
   service_account.py1159512%42–57, 77–89, 110–124, 146–160, 180–193, 213–225, 247–261, 282–295, 311–324, 346–362, 378–386, 402–412, 433–447
   short_url.py16935%19, 35–49
   snapshot.py544314%23, 52–87, 99–107, 123–135, 151–166, 182–197
   sso_settings.py615013%25, 41–67, 87–114, 135–185, 205–235
   team.py13811910%26, 49–64, 84–96, 116–130, 152–166, 186–199, 219–231, 252–266, 287–300, 320–332, 363–396, 419–431, 456–482, 507–531
   user.py15312812%26, 52–67, 95–113, 133–145, 165–177, 198–221, 241–253, 273–285, 302–316, 330, 342–350, 370–396, 412–426, 438–446, 458–466, 482–496, 512–525, 537–545, 561–575
tests/unittests
   test_admin.py34623931%14–21, 28–36, 40–47, 54–61, 68–75, 82–90, 94–102, 106–113, 120–128, 132–139, 146–154, 158–169, 176–187, 194–202, 206–218, 222–229, 236–244, 248–256, 260–267, 274–282, 286–294, 298–305, 312–320, 324–332, 336–343, 350–358, 362–369, 376–384, 388–395, 402–410, 414–422, 426–433, 440–448, 452–460, 464–471, 478–486, 490–498, 502–509, 518–526, 530–539, 548–556, 560–567, 576–584, 588–597, 606–614, 618–627, 636–644, 648–655, 662–670, 674–684, 691–702
   test_alerting.py51437128%19–24, 30–34, 38–44, 48–54, 57–61, 67–74, 78–83, 89–93, 97–103, 107–112, 115–119, 125–131, 135–140, 146–150, 156–162, 166–171, 174–178, 182–188, 192–200, 209–217, 223–227, 233–242, 246–251, 254–258, 262–268, 272–279, 282–286, 290–296, 300–305, 311–315, 319–325, 329–341, 349–353, 359–368, 372–390, 398–402, 406–425, 431–450, 456–461, 464–468, 472–478, 482–487, 490–494, 498–504, 508–513, 516–520, 524–530, 534–539, 542–546, 550–556, 560–565, 571–575, 579–585, 589–597, 605–609, 615–624, 630–635, 638–642, 646–652, 656–661, 666–670, 674–680, 684–692, 697–701, 705–714, 718–726, 732–736, 740–748, 754–758, 762–771, 775–784, 788–793, 799–805, 809–814, 823–829, 835–841, 847–852, 860–864, 870–876, 880–885, 893–899
   test_alerting_notifications.py17512230%11–16, 24–30, 34–39, 47–53, 57–62, 67–71, 77–83, 87–92, 97–101, 107–113, 117–122, 128–132, 138–144, 148–153, 159–163, 169–175, 179–184, 190–194, 200–206, 210–215, 218–222, 228–234, 238–243, 246–250, 256–262, 266–271, 276–280, 286–292
   test_alerting_provisioning.py36726229%23–29, 40–47, 53–59, 63–71, 75–82, 88–94, 98–106, 110–117, 123–129, 133–141, 145–152, 160–166, 172–180, 186–193, 199–205, 209–217, 221–228, 235–243, 247–254, 259–265, 269–277, 281–288, 296–302, 306–314, 320–327, 330–336, 340–348, 352–359, 366–374, 378–385, 390–396, 400–408, 412–419, 425–433, 437–444, 449–455, 459–467, 471–483, 488–494, 498–507, 511–519, 524–530, 534–543, 547–554, 557–563, 567–575, 579–586, 592–600, 604–611, 617–623, 627–635, 639–646, 652–658, 662–670, 674–681, 684–690, 694–702, 705–709, 716–734
   test_annotations.py1359033%16–21, 28–33, 52–57, 76–82, 86–91, 107–113, 117–123, 136–143, 154–160, 164–170, 178–183, 200–206, 210–216, 230–235, 242–248, 252–258, 262–267, 274–279, 286–291, 298–304
   test_api.py1761732%5–423
   test_authentication.py603935%11–16, 23–29, 33–38, 45–54, 58–64, 68–73, 80–86, 90–96
   test_correlations.py1248631%11–16, 22–26, 30–36, 40–45, 51–55, 61–67, 71–76, 83–90, 97–103, 107–113, 117–125, 131–138, 142–151, 155–160, 163–167, 171–177, 181–186, 192–196, 200–206
   test_dashboard.py49834631%14–20, 30–34, 43–50, 63–72, 82–86, 97–103, 114–120, 131–141, 150–158, 170–177, 186–193, 202–210, 222–228, 238–242, 248–253, 259–265, 268–272, 276–281, 285–291, 295–300, 306–312, 316–321, 328–334, 337–341, 345–350, 357–363, 366–370, 374–381, 387–393, 396–400, 404–411, 420–426, 429–433, 437–442, 446–452, 455–459, 463–468, 474–480, 483–487, 491–496, 500–506, 509–513, 517–522, 528–534, 537–541, 545–550, 556–562, 565–569, 573–578, 585–591, 594–598, 602–607, 619–624, 630–634, 637–641, 645–649, 656–660, 667–671, 678–682, 689–694, 698–702, 709–714, 718–723, 727–731, 738–743, 747–752, 756–760, 764–768, 777–782, 788–793, 797–802, 806–810, 814–818, 825–830, 834–839, 843–847
   test_datasource.py58041029%22–27, 31–37, 41–46, 49–53, 57–63, 67–72, 75–79, 83–89, 93–98, 101–105, 109–115, 119–124, 127–131, 135–141, 145–150, 153–157, 161–167, 171–176, 179–183, 187–193, 197–202, 205–209, 213–219, 223–228, 231–235, 239–245, 249–254, 257–261, 265–271, 275–284, 290–294, 298–308, 314–321, 327–333, 337–345, 349–357, 361–370, 379–388, 396–402, 410–418, 424–432, 440–448, 454–463, 472–481, 489–495, 503–511, 517–525, 533–541, 547–556, 565–574, 582–588, 596–604, 612–620, 628–636, 644–653, 658–664, 668–676, 680–689, 694–700, 706–714, 718–725, 731–737, 743–751, 755–764, 772–778, 784–792, 798–807, 812–818, 822–830, 836–843, 847–855, 859–867, 871–878, 884–892, 896–904, 908–915, 921–929, 933–941, 945–952, 956–964, 968–976, 980–990, 999–1010, 1014–1025, 1031–1038, 1042–1050, 1054–1062, 1066–1073, 1079–1087, 1093–1101
   test_external_group.py654235%11–16, 23–29, 33–39, 43–48, 57–63, 67–73, 79–84, 93–99, 103–109
   test_folder.py24816932%13–18, 22–28, 32–37, 43–49, 53–59, 63–68, 72–78, 82–88, 92–97, 101–106, 113–120, 127–133, 137–143, 147–152, 159–164, 171–176, 183–189, 193–199, 203–208, 214–218, 222–227, 234–240, 244–249, 253–258, 262–268, 272–278, 282–288, 292–297, 303–308, 312–318, 322–329, 335–340, 344–350, 354–358, 363–366, 371–375, 381–388, 392–399
   test_legacy_alerting.py896033%11–16, 20–25, 28–32, 36–42, 46–51, 57–61, 65–71, 75–80, 85–92, 100–104, 108–114, 118–123, 126–130, 134–140
   test_legacy_playlist.py1097432%11–16, 20–28, 32–38, 42–47, 51–59, 63–69, 73–78, 82–90, 94–100, 104–115, 119–127, 131–143, 147–152, 156–164, 168–174
   test_library.py15610533%11–16, 20–25, 37–43, 47–52, 58–64, 68–74, 78–83, 89–95, 99–105, 109–114, 120–126, 130–136, 140–145, 152–157, 166–172, 176–182, 186–191, 200–205, 214–220, 224–230, 236–241, 245–251, 255–261
   test_licensing.py523337%11–17, 21–27, 31–36, 40–46, 50–55, 59–65, 69–75
   test_model.py362336%14–15, 20–24, 29–32, 35–39, 44–51, 56–57
   test_organisation.py22812446%14–16, 20–23, 27–29, 38–41, 45–47, 56–59, 63–65, 74–77, 83–86, 90–94, 98–101, 107–110, 114–116, 120–123, 127–130, 134–138, 144–147, 153–156, 167–169, 173–176, 180–183, 187–189, 195–198, 202–205, 209–211, 215–218, 222–226, 230–233, 237–240, 244–246, 250–253, 257–260, 264–266, 270–273, 277–280, 284–286, 293–296, 300–303, 307–311, 315–318, 322–325, 329–331, 337–340, 344–347, 351–355, 359–362, 366–369
   test_other_http.py1031003%5–161
   test_playlist.py16711631%11–16, 20–26, 30–36, 40–46, 50–56, 60–65, 69–77, 81–87, 91–96, 103–111, 115–121, 125–130, 137–145, 149–155, 159–170, 176–184, 188–200, 204–215, 221–229, 233–245, 249–254, 258–266, 270–276
   test_preferences.py956235%11–16, 23–29, 33–38, 49–54, 65–70, 81–87, 91–97, 101–106, 113–119, 123–128, 135–140, 149–154, 163–169, 173–179
   test_query_history.py1298832%11–19, 26–32, 36–45, 49–54, 61–67, 71–77, 81–86, 90–96, 100–106, 110–115, 121–127, 131–137, 141–146, 152–158, 162–168, 172–177, 183–189, 193–199
   test_rbac.py67847730%11–16, 23–29, 33–39, 43–48, 55–61, 65–71, 75–80, 87–93, 97–103, 107–113, 117–131, 138–146, 153–161, 168–177, 181–187, 191–206, 210–225, 229–243, 250–258, 265–273, 280–289, 293–299, 303–318, 322–337, 341–348, 355–361, 365–371, 375–381, 385–391, 395–402, 409–415, 419–425, 429–435, 439–446, 453–459, 463–469, 473–479, 483–490, 497–503, 507–513, 517–523, 527–533, 537–544, 551–557, 561–567, 571–577, 581–587, 591–598, 605–611, 615–621, 625–631, 635–641, 645–652, 661–667, 671–677, 683–689, 693–700, 709–715, 721–727, 733–739, 743–750, 759–765, 771–777, 781–787, 793–799, 803–810, 819–825, 831–837, 841–847, 853–859, 863–870, 881–887, 893–899, 903–909, 915–921, 925–932, 939–945, 949–955, 959–965, 969–976, 983–989, 993–999, 1003–1009, 1013–1019, 1023–1030, 1037–1043, 1047–1053, 1057–1063, 1067–1073, 1077–1084, 1091–1097, 1101–1107, 1111–1117, 1121–1127, 1131–1138, 1147–1153, 1157–1163, 1169–1175
   test_reporting.py31523426%12–17, 23–29, 33–39, 43–48, 53–57, 61–67, 71–77, 81–104, 108–134, 138–163, 167–188, 191–195, 198–221, 224–246, 249–272, 275–298, 301–324, 328–350, 354–376, 380–403, 406–410, 414–436, 440–462, 466–473, 476–480, 484–490, 494–500, 504–511, 514–518, 522–528, 532–538, 542–547, 553–559, 563–569, 573–583, 589–599, 604–608, 614–623, 627–636, 640–649, 653–676, 679–683, 687–709, 713–735
   test_search.py251444%11–16, 20–26, 30–36
   test_service_account.py1739446%16–18, 25–27, 34–37, 41–43, 50–53, 57–60, 64–66, 73–76, 80–83, 87–89, 96–99, 103–106, 110–113, 117–120, 124–126, 133–135, 142–145, 149–152, 156–158, 165–168, 174–177, 181–185, 192–195, 201–204, 208–212, 221–224, 228–230, 237–240, 246–249, 253–255, 264–267, 271–273, 280–283, 287–291, 298–301, 307–310
   test_short_url.py251444%11–16, 20–26, 30–36
   test_snapshot.py1077233%11–16, 22–27, 35–39, 42–46, 50–56, 60–65, 69–75, 79–84, 90–96, 100–106, 110–119, 123–129, 133–139, 143–152, 156–162, 168–174
   test_sso_settings.py1037131%11–32, 55–67, 71–83, 87–106, 126–130, 134–144, 148–158, 162–178, 184–188, 192–209, 213–230, 234–243, 249–253, 257–267, 271–281
   test_team.py28719632%11–18, 22–29, 36–44, 48–55, 59–67, 71–79, 83–91, 95–103, 107–116, 120–127, 131–139, 143–151, 155–162, 166–174, 178–186, 190–197, 201–209, 213–221, 225–232, 236–244, 248–256, 260–267, 271–279, 283–291, 295–304, 311–319, 323–331, 335–342, 346–353, 360–367, 376–384, 388–396, 400–407, 411–417, 421–429, 433–442, 446–452, 456–464, 468–475, 479–488, 492–498, 502–510, 514–521
   test_user.py33623032%11–18, 22–29, 36–44, 48–55, 59–66, 73–80, 87–95, 99–106, 110–118, 122–130, 134–141, 147–155, 159–167, 171–181, 185–193, 197–208, 212–219, 223–231, 235–243, 247–254, 258–266, 270–277, 281–289, 293–302, 306–314, 318–326, 332–337, 341–347, 351–356, 360–366, 370–376, 380–387, 391–397, 401–407, 411–416, 420–426, 430–435, 439–444, 448–454, 458–463, 467–473, 477–483, 487–492, 496–502, 506–512, 516–521, 525–531, 535–540, 544–550, 554–560
TOTAL10390754224% 
Tests Skipped Failures Errors Time
2 0 :zzz: 0 :x: 2 :fire: 2.015s :stopwatch:

github-actions[bot] avatar Mar 23 '25 10:03 github-actions[bot]

Coverage Report
FileStmtsMissCoverMissing
src/grafana_api
   \_\_init\_\_.py00100% 
   admin.py16013312%27, 39–47, 63–85, 97–105, 117–125, 141–173, 190–206, 223–239, 255–268, 281–291, 304–314, 330–342, 359–373, 389–403, 415–425, 437–447, 459–469, 481–491, 503–513, 525–535, 547–557
   alerting.py2992658%26, 42–54, 73–101, 117–129, 148–161, 180–192, 208–220, 239–266, 282–294, 310–326, 342–354, 377–411, 431–490, 506–518, 534–546, 562–574, 591–604, 623–635, 662–705, 725–740, 760–774, 790–832, 857–910, 927–969, 981–990, 1004–1025, 1044–1065, 1077–1085
   alerting_notifications.py917513%19, 31–40, 52–61, 77–90, 106–119, 135–149, 168–182, 201–215, 231–244, 260–273, 289–303
   alerting_provisioning.py22818812%34, 50–62, 79–95, 115–131, 156–176, 192–207, 219–227, 248–273, 296–321, 337–351, 363–372, 389–405, 417–425, 441–453, 472–488, 511–527, 543–557, 569–577, 593–606, 626–642, 658–672, 686, 707–723, 736–746, 758, 785–793, 806–822, 834, 864–884, 898, 926–951
   annotations.py1181066%28, 43–100, 123–163, 183–214, 235–263, 286–299, 323–345
   api.py12210211%24, 52–96, 124–165, 191–232, 251–274, 287–296, 309–312, 326–349
   authentication.py312222%19, 37–46, 71–94, 115–129
   correlations.py624915%20, 37–50, 66–79, 91–107, 123–160, 177–192, 217–238
   dashboard.py2492208%20, 45–72, 91–112, 128–140, 152–160, 172–180, 199–232, 248–260, 276–288, 305–319, 336–350, 366–378, 394–406, 423–435, 452–464, 481–498, 515–532, 554–586, 606–628, 651–663, 686–728, 761–817, 842–869
   datasource.py29925810%27, 43–52, 72–85, 105–118, 138–151, 171–184, 203–217, 238–252, 272–285, 305–318, 338–351, 371–400, 416, 436–465, 489–530, 554–595, 622–667, 683, 703–717, 737–751, 771–784, 807–821, 842–855, 871, 891–903, 923–936, 956–969, 989–1002, 1025–1061, 1075, 1095–1107, 1127–1140
   external_group.py342520%19, 41–53, 77–91, 115–128
   folder.py12811010%21, 37–45, 65–77, 97–109, 133–156, 181–206, 227–246, 266–285, 305–318, 339–356, 372–392, 401–412
   legacy_alerting.py635212%20, 39–61, 80–102, 118–141, 158–178
   legacy_playlist.py554414%24, 40–52, 68–80, 96–108, 125–159, 175–189
   library.py847110%19, 51–73, 89–101, 117–129, 145–157, 186–219, 250–288, 304–319
   licensing.py261631%26, 42–50, 66–76, 92–102
   model.py373996%160–169
   organisation.py15112413%35–43, 59–67, 83–91, 112–126, 146–159, 179–193, 216–230, 264–276, 297–309, 326–334, 355–369, 390–404, 424–437, 457–469, 491–505, 527–541, 562–575
   playlist.py806711%24, 40–59, 75–87, 103–115, 131–143, 159–193, 210–244, 260–274
   preferences.py534313%19, 33–41, 66–97, 111–119, 144–175
   query_history.py705812%23, 40–76, 105–127, 143–155, 172–186, 202–216, 232–245
   rbac.py3883615%19, 35–56, 75–100, 120–144, 164–231, 252–320, 342–374, 397–426, 446–471, 495–527, 548–578, 607–643, 666–695, 715–740, 764–801, 824–860, 889–931, 954–983, 1004–1036, 1057–1087, 1114–1150, 1166–1192
   reporting.py1741567%28, 44–69, 89–117, 137–167, 188–220, 240–271, 295–336, 352–373, 393–465, 485–515, 519–636
   search.py14833%18, 34–44
   service_account.py1159512%42–57, 77–89, 110–124, 146–160, 180–193, 213–225, 247–261, 282–295, 311–324, 346–362, 378–386, 402–412, 433–447
   short_url.py16935%19, 35–49
   snapshot.py544314%23, 52–87, 99–107, 123–135, 151–166, 182–197
   sso_settings.py615013%25, 41–67, 87–114, 135–185, 205–235
   team.py13811910%26, 49–64, 84–96, 116–130, 152–166, 186–199, 219–231, 252–266, 287–300, 320–332, 363–396, 419–431, 456–482, 507–531
   user.py15312812%26, 52–67, 95–113, 133–145, 165–177, 198–221, 241–253, 273–285, 302–316, 330, 342–350, 370–396, 412–426, 438–446, 458–466, 482–496, 512–525, 537–545, 561–575
tests/unittests
   test_admin.py34623931%14–21, 28–36, 40–47, 54–61, 68–75, 82–90, 94–102, 106–113, 120–128, 132–139, 146–154, 158–169, 176–187, 194–202, 206–218, 222–229, 236–244, 248–256, 260–267, 274–282, 286–294, 298–305, 312–320, 324–332, 336–343, 350–358, 362–369, 376–384, 388–395, 402–410, 414–422, 426–433, 440–448, 452–460, 464–471, 478–486, 490–498, 502–509, 518–526, 530–539, 548–556, 560–567, 576–584, 588–597, 606–614, 618–627, 636–644, 648–655, 662–670, 674–684, 691–702
   test_alerting.py51437128%19–24, 30–34, 38–44, 48–54, 57–61, 67–74, 78–83, 89–93, 97–103, 107–112, 115–119, 125–131, 135–140, 146–150, 156–162, 166–171, 174–178, 182–188, 192–200, 209–217, 223–227, 233–242, 246–251, 254–258, 262–268, 272–279, 282–286, 290–296, 300–305, 311–315, 319–325, 329–341, 349–353, 359–368, 372–390, 398–402, 406–425, 431–450, 456–461, 464–468, 472–478, 482–487, 490–494, 498–504, 508–513, 516–520, 524–530, 534–539, 542–546, 550–556, 560–565, 571–575, 579–585, 589–597, 605–609, 615–624, 630–635, 638–642, 646–652, 656–661, 666–670, 674–680, 684–692, 697–701, 705–714, 718–726, 732–736, 740–748, 754–758, 762–771, 775–784, 788–793, 799–805, 809–814, 823–829, 835–841, 847–852, 860–864, 870–876, 880–885, 893–899
   test_alerting_notifications.py17512230%11–16, 24–30, 34–39, 47–53, 57–62, 67–71, 77–83, 87–92, 97–101, 107–113, 117–122, 128–132, 138–144, 148–153, 159–163, 169–175, 179–184, 190–194, 200–206, 210–215, 218–222, 228–234, 238–243, 246–250, 256–262, 266–271, 276–280, 286–292
   test_alerting_provisioning.py36726229%23–29, 40–47, 53–59, 63–71, 75–82, 88–94, 98–106, 110–117, 123–129, 133–141, 145–152, 160–166, 172–180, 186–193, 199–205, 209–217, 221–228, 235–243, 247–254, 259–265, 269–277, 281–288, 296–302, 306–314, 320–327, 330–336, 340–348, 352–359, 366–374, 378–385, 390–396, 400–408, 412–419, 425–433, 437–444, 449–455, 459–467, 471–483, 488–494, 498–507, 511–519, 524–530, 534–543, 547–554, 557–563, 567–575, 579–586, 592–600, 604–611, 617–623, 627–635, 639–646, 652–658, 662–670, 674–681, 684–690, 694–702, 705–709, 716–734
   test_annotations.py1359033%16–21, 28–33, 52–57, 76–82, 86–91, 107–113, 117–123, 136–143, 154–160, 164–170, 178–183, 200–206, 210–216, 230–235, 242–248, 252–258, 262–267, 274–279, 286–291, 298–304
   test_api.py1761732%5–423
   test_authentication.py603935%11–16, 23–29, 33–38, 45–54, 58–64, 68–73, 80–86, 90–96
   test_correlations.py1248631%11–16, 22–26, 30–36, 40–45, 51–55, 61–67, 71–76, 83–90, 97–103, 107–113, 117–125, 131–138, 142–151, 155–160, 163–167, 171–177, 181–186, 192–196, 200–206
   test_dashboard.py49834631%14–20, 30–34, 43–50, 63–72, 82–86, 97–103, 114–120, 131–141, 150–158, 170–177, 186–193, 202–210, 222–228, 238–242, 248–253, 259–265, 268–272, 276–281, 285–291, 295–300, 306–312, 316–321, 328–334, 337–341, 345–350, 357–363, 366–370, 374–381, 387–393, 396–400, 404–411, 420–426, 429–433, 437–442, 446–452, 455–459, 463–468, 474–480, 483–487, 491–496, 500–506, 509–513, 517–522, 528–534, 537–541, 545–550, 556–562, 565–569, 573–578, 585–591, 594–598, 602–607, 619–624, 630–634, 637–641, 645–649, 656–660, 667–671, 678–682, 689–694, 698–702, 709–714, 718–723, 727–731, 738–743, 747–752, 756–760, 764–768, 777–782, 788–793, 797–802, 806–810, 814–818, 825–830, 834–839, 843–847
   test_datasource.py58041029%22–27, 31–37, 41–46, 49–53, 57–63, 67–72, 75–79, 83–89, 93–98, 101–105, 109–115, 119–124, 127–131, 135–141, 145–150, 153–157, 161–167, 171–176, 179–183, 187–193, 197–202, 205–209, 213–219, 223–228, 231–235, 239–245, 249–254, 257–261, 265–271, 275–284, 290–294, 298–308, 314–321, 327–333, 337–345, 349–357, 361–370, 379–388, 396–402, 410–418, 424–432, 440–448, 454–463, 472–481, 489–495, 503–511, 517–525, 533–541, 547–556, 565–574, 582–588, 596–604, 612–620, 628–636, 644–653, 658–664, 668–676, 680–689, 694–700, 706–714, 718–725, 731–737, 743–751, 755–764, 772–778, 784–792, 798–807, 812–818, 822–830, 836–843, 847–855, 859–867, 871–878, 884–892, 896–904, 908–915, 921–929, 933–941, 945–952, 956–964, 968–976, 980–990, 999–1010, 1014–1025, 1031–1038, 1042–1050, 1054–1062, 1066–1073, 1079–1087, 1093–1101
   test_external_group.py654235%11–16, 23–29, 33–39, 43–48, 57–63, 67–73, 79–84, 93–99, 103–109
   test_folder.py24816932%13–18, 22–28, 32–37, 43–49, 53–59, 63–68, 72–78, 82–88, 92–97, 101–106, 113–120, 127–133, 137–143, 147–152, 159–164, 171–176, 183–189, 193–199, 203–208, 214–218, 222–227, 234–240, 244–249, 253–258, 262–268, 272–278, 282–288, 292–297, 303–308, 312–318, 322–329, 335–340, 344–350, 354–358, 363–366, 371–375, 381–388, 392–399
   test_legacy_alerting.py896033%11–16, 20–25, 28–32, 36–42, 46–51, 57–61, 65–71, 75–80, 85–92, 100–104, 108–114, 118–123, 126–130, 134–140
   test_legacy_playlist.py1097432%11–16, 20–28, 32–38, 42–47, 51–59, 63–69, 73–78, 82–90, 94–100, 104–115, 119–127, 131–143, 147–152, 156–164, 168–174
   test_library.py15610533%11–16, 20–25, 37–43, 47–52, 58–64, 68–74, 78–83, 89–95, 99–105, 109–114, 120–126, 130–136, 140–145, 152–157, 166–172, 176–182, 186–191, 200–205, 214–220, 224–230, 236–241, 245–251, 255–261
   test_licensing.py523337%11–17, 21–27, 31–36, 40–46, 50–55, 59–65, 69–75
   test_model.py362336%14–15, 20–24, 29–32, 35–39, 44–51, 56–57
   test_organisation.py22812446%14–16, 20–23, 27–29, 38–41, 45–47, 56–59, 63–65, 74–77, 83–86, 90–94, 98–101, 107–110, 114–116, 120–123, 127–130, 134–138, 144–147, 153–156, 167–169, 173–176, 180–183, 187–189, 195–198, 202–205, 209–211, 215–218, 222–226, 230–233, 237–240, 244–246, 250–253, 257–260, 264–266, 270–273, 277–280, 284–286, 293–296, 300–303, 307–311, 315–318, 322–325, 329–331, 337–340, 344–347, 351–355, 359–362, 366–369
   test_other_http.py1031003%5–161
   test_playlist.py16711631%11–16, 20–26, 30–36, 40–46, 50–56, 60–65, 69–77, 81–87, 91–96, 103–111, 115–121, 125–130, 137–145, 149–155, 159–170, 176–184, 188–200, 204–215, 221–229, 233–245, 249–254, 258–266, 270–276
   test_preferences.py956235%11–16, 23–29, 33–38, 49–54, 65–70, 81–87, 91–97, 101–106, 113–119, 123–128, 135–140, 149–154, 163–169, 173–179
   test_query_history.py1298832%11–19, 26–32, 36–45, 49–54, 61–67, 71–77, 81–86, 90–96, 100–106, 110–115, 121–127, 131–137, 141–146, 152–158, 162–168, 172–177, 183–189, 193–199
   test_rbac.py67847730%11–16, 23–29, 33–39, 43–48, 55–61, 65–71, 75–80, 87–93, 97–103, 107–113, 117–131, 138–146, 153–161, 168–177, 181–187, 191–206, 210–225, 229–243, 250–258, 265–273, 280–289, 293–299, 303–318, 322–337, 341–348, 355–361, 365–371, 375–381, 385–391, 395–402, 409–415, 419–425, 429–435, 439–446, 453–459, 463–469, 473–479, 483–490, 497–503, 507–513, 517–523, 527–533, 537–544, 551–557, 561–567, 571–577, 581–587, 591–598, 605–611, 615–621, 625–631, 635–641, 645–652, 661–667, 671–677, 683–689, 693–700, 709–715, 721–727, 733–739, 743–750, 759–765, 771–777, 781–787, 793–799, 803–810, 819–825, 831–837, 841–847, 853–859, 863–870, 881–887, 893–899, 903–909, 915–921, 925–932, 939–945, 949–955, 959–965, 969–976, 983–989, 993–999, 1003–1009, 1013–1019, 1023–1030, 1037–1043, 1047–1053, 1057–1063, 1067–1073, 1077–1084, 1091–1097, 1101–1107, 1111–1117, 1121–1127, 1131–1138, 1147–1153, 1157–1163, 1169–1175
   test_reporting.py31523426%12–17, 23–29, 33–39, 43–48, 53–57, 61–67, 71–77, 81–104, 108–134, 138–163, 167–188, 191–195, 198–221, 224–246, 249–272, 275–298, 301–324, 328–350, 354–376, 380–403, 406–410, 414–436, 440–462, 466–473, 476–480, 484–490, 494–500, 504–511, 514–518, 522–528, 532–538, 542–547, 553–559, 563–569, 573–583, 589–599, 604–608, 614–623, 627–636, 640–649, 653–676, 679–683, 687–709, 713–735
   test_search.py251444%11–16, 20–26, 30–36
   test_service_account.py1739446%16–18, 25–27, 34–37, 41–43, 50–53, 57–60, 64–66, 73–76, 80–83, 87–89, 96–99, 103–106, 110–113, 117–120, 124–126, 133–135, 142–145, 149–152, 156–158, 165–168, 174–177, 181–185, 192–195, 201–204, 208–212, 221–224, 228–230, 237–240, 246–249, 253–255, 264–267, 271–273, 280–283, 287–291, 298–301, 307–310
   test_short_url.py251444%11–16, 20–26, 30–36
   test_snapshot.py1077233%11–16, 22–27, 35–39, 42–46, 50–56, 60–65, 69–75, 79–84, 90–96, 100–106, 110–119, 123–129, 133–139, 143–152, 156–162, 168–174
   test_sso_settings.py1037131%11–32, 55–67, 71–83, 87–106, 126–130, 134–144, 148–158, 162–178, 184–188, 192–209, 213–230, 234–243, 249–253, 257–267, 271–281
   test_team.py28719632%11–18, 22–29, 36–44, 48–55, 59–67, 71–79, 83–91, 95–103, 107–116, 120–127, 131–139, 143–151, 155–162, 166–174, 178–186, 190–197, 201–209, 213–221, 225–232, 236–244, 248–256, 260–267, 271–279, 283–291, 295–304, 311–319, 323–331, 335–342, 346–353, 360–367, 376–384, 388–396, 400–407, 411–417, 421–429, 433–442, 446–452, 456–464, 468–475, 479–488, 492–498, 502–510, 514–521
   test_user.py33623032%11–18, 22–29, 36–44, 48–55, 59–66, 73–80, 87–95, 99–106, 110–118, 122–130, 134–141, 147–155, 159–167, 171–181, 185–193, 197–208, 212–219, 223–231, 235–243, 247–254, 258–266, 270–277, 281–289, 293–302, 306–314, 318–326, 332–337, 341–347, 351–356, 360–366, 370–376, 380–387, 391–397, 401–407, 411–416, 420–426, 430–435, 439–444, 448–454, 458–463, 467–473, 477–483, 487–492, 496–502, 506–512, 516–521, 525–531, 535–540, 544–550, 554–560
TOTAL10390754224% 
Tests Skipped Failures Errors Time
2 0 :zzz: 0 :x: 2 :fire: 2.058s :stopwatch:

github-actions[bot] avatar Mar 23 '25 10:03 github-actions[bot]

Coverage Report
FileStmtsMissCoverMissing
src/grafana_api
   \_\_init\_\_.py00100% 
   admin.py16013312%27, 39–47, 63–85, 97–105, 117–125, 141–173, 190–206, 223–239, 255–268, 281–291, 304–314, 330–342, 359–373, 389–403, 415–425, 437–447, 459–469, 481–491, 503–513, 525–535, 547–557
   alerting.py2992658%26, 42–54, 73–101, 117–129, 148–161, 180–192, 208–220, 239–266, 282–294, 310–326, 342–354, 377–411, 431–490, 506–518, 534–546, 562–574, 591–604, 623–635, 662–705, 725–740, 760–774, 790–832, 857–910, 927–969, 981–990, 1004–1025, 1044–1065, 1077–1085
   alerting_notifications.py917513%19, 31–40, 52–61, 77–90, 106–119, 135–149, 168–182, 201–215, 231–244, 260–273, 289–303
   alerting_provisioning.py22818812%34, 50–62, 79–95, 115–131, 156–176, 192–207, 219–227, 248–273, 296–321, 337–351, 363–372, 389–405, 417–425, 441–453, 472–488, 511–527, 543–557, 569–577, 593–606, 626–642, 658–672, 686, 707–723, 736–746, 758, 785–793, 806–822, 834, 864–884, 898, 926–951
   annotations.py1181066%28, 43–100, 123–163, 183–214, 235–263, 286–299, 323–345
   api.py12210211%24, 52–96, 124–165, 191–232, 251–274, 287–296, 309–312, 326–349
   authentication.py312222%19, 37–46, 71–94, 115–129
   correlations.py624915%20, 37–50, 66–79, 91–107, 123–160, 177–192, 217–238
   dashboard.py2492208%20, 45–72, 91–112, 128–140, 152–160, 172–180, 199–232, 248–260, 276–288, 305–319, 336–350, 366–378, 394–406, 423–435, 452–464, 481–498, 515–532, 554–586, 606–628, 651–663, 686–728, 761–817, 842–869
   datasource.py29925810%27, 43–52, 72–85, 105–118, 138–151, 171–184, 203–217, 238–252, 272–285, 305–318, 338–351, 371–400, 416, 436–465, 489–530, 554–595, 622–667, 683, 703–717, 737–751, 771–784, 807–821, 842–855, 871, 891–903, 923–936, 956–969, 989–1002, 1025–1061, 1075, 1095–1107, 1127–1140
   external_group.py342520%19, 41–53, 77–91, 115–128
   folder.py12811010%21, 37–45, 65–77, 97–109, 133–156, 181–206, 227–246, 266–285, 305–318, 339–356, 372–392, 401–412
   legacy_alerting.py635212%20, 39–61, 80–102, 118–141, 158–178
   legacy_playlist.py554414%24, 40–52, 68–80, 96–108, 125–159, 175–189
   library.py847110%19, 51–73, 89–101, 117–129, 145–157, 186–219, 250–288, 304–319
   licensing.py261631%26, 42–50, 66–76, 92–102
   model.py373996%160–169
   organisation.py15112413%35–43, 59–67, 83–91, 112–126, 146–159, 179–193, 216–230, 264–276, 297–309, 326–334, 355–369, 390–404, 424–437, 457–469, 491–505, 527–541, 562–575
   playlist.py806711%24, 40–59, 75–87, 103–115, 131–143, 159–193, 210–244, 260–274
   preferences.py534313%19, 33–41, 66–97, 111–119, 144–175
   query_history.py705812%23, 40–76, 105–127, 143–155, 172–186, 202–216, 232–245
   rbac.py3883615%19, 35–56, 75–100, 120–144, 164–231, 252–320, 342–374, 397–426, 446–471, 495–527, 548–578, 607–643, 666–695, 715–740, 764–801, 824–860, 889–931, 954–983, 1004–1036, 1057–1087, 1114–1150, 1166–1192
   reporting.py1741567%28, 44–69, 89–117, 137–167, 188–220, 240–271, 295–336, 352–373, 393–465, 485–515, 519–636
   search.py14833%18, 34–44
   service_account.py1159512%42–57, 77–89, 110–124, 146–160, 180–193, 213–225, 247–261, 282–295, 311–324, 346–362, 378–386, 402–412, 433–447
   short_url.py16935%19, 35–49
   snapshot.py544314%23, 52–87, 99–107, 123–135, 151–166, 182–197
   sso_settings.py615013%25, 41–67, 87–114, 135–185, 205–235
   team.py13811910%26, 49–64, 84–96, 116–130, 152–166, 186–199, 219–231, 252–266, 287–300, 320–332, 363–396, 419–431, 456–482, 507–531
   user.py15312812%26, 52–67, 95–113, 133–145, 165–177, 198–221, 241–253, 273–285, 302–316, 330, 342–350, 370–396, 412–426, 438–446, 458–466, 482–496, 512–525, 537–545, 561–575
tests/unittests
   test_admin.py34623931%14–21, 28–36, 40–47, 54–61, 68–75, 82–90, 94–102, 106–113, 120–128, 132–139, 146–154, 158–169, 176–187, 194–202, 206–218, 222–229, 236–244, 248–256, 260–267, 274–282, 286–294, 298–305, 312–320, 324–332, 336–343, 350–358, 362–369, 376–384, 388–395, 402–410, 414–422, 426–433, 440–448, 452–460, 464–471, 478–486, 490–498, 502–509, 518–526, 530–539, 548–556, 560–567, 576–584, 588–597, 606–614, 618–627, 636–644, 648–655, 662–670, 674–684, 691–702
   test_alerting.py51437128%19–24, 30–34, 38–44, 48–54, 57–61, 67–74, 78–83, 89–93, 97–103, 107–112, 115–119, 125–131, 135–140, 146–150, 156–162, 166–171, 174–178, 182–188, 192–200, 209–217, 223–227, 233–242, 246–251, 254–258, 262–268, 272–279, 282–286, 290–296, 300–305, 311–315, 319–325, 329–341, 349–353, 359–368, 372–390, 398–402, 406–425, 431–450, 456–461, 464–468, 472–478, 482–487, 490–494, 498–504, 508–513, 516–520, 524–530, 534–539, 542–546, 550–556, 560–565, 571–575, 579–585, 589–597, 605–609, 615–624, 630–635, 638–642, 646–652, 656–661, 666–670, 674–680, 684–692, 697–701, 705–714, 718–726, 732–736, 740–748, 754–758, 762–771, 775–784, 788–793, 799–805, 809–814, 823–829, 835–841, 847–852, 860–864, 870–876, 880–885, 893–899
   test_alerting_notifications.py17512230%11–16, 24–30, 34–39, 47–53, 57–62, 67–71, 77–83, 87–92, 97–101, 107–113, 117–122, 128–132, 138–144, 148–153, 159–163, 169–175, 179–184, 190–194, 200–206, 210–215, 218–222, 228–234, 238–243, 246–250, 256–262, 266–271, 276–280, 286–292
   test_alerting_provisioning.py36726229%23–29, 40–47, 53–59, 63–71, 75–82, 88–94, 98–106, 110–117, 123–129, 133–141, 145–152, 160–166, 172–180, 186–193, 199–205, 209–217, 221–228, 235–243, 247–254, 259–265, 269–277, 281–288, 296–302, 306–314, 320–327, 330–336, 340–348, 352–359, 366–374, 378–385, 390–396, 400–408, 412–419, 425–433, 437–444, 449–455, 459–467, 471–483, 488–494, 498–507, 511–519, 524–530, 534–543, 547–554, 557–563, 567–575, 579–586, 592–600, 604–611, 617–623, 627–635, 639–646, 652–658, 662–670, 674–681, 684–690, 694–702, 705–709, 716–734
   test_annotations.py1359033%16–21, 28–33, 52–57, 76–82, 86–91, 107–113, 117–123, 136–143, 154–160, 164–170, 178–183, 200–206, 210–216, 230–235, 242–248, 252–258, 262–267, 274–279, 286–291, 298–304
   test_api.py1761732%5–423
   test_authentication.py603935%11–16, 23–29, 33–38, 45–54, 58–64, 68–73, 80–86, 90–96
   test_correlations.py1248631%11–16, 22–26, 30–36, 40–45, 51–55, 61–67, 71–76, 83–90, 97–103, 107–113, 117–125, 131–138, 142–151, 155–160, 163–167, 171–177, 181–186, 192–196, 200–206
   test_dashboard.py49834631%14–20, 30–34, 43–50, 63–72, 82–86, 97–103, 114–120, 131–141, 150–158, 170–177, 186–193, 202–210, 222–228, 238–242, 248–253, 259–265, 268–272, 276–281, 285–291, 295–300, 306–312, 316–321, 328–334, 337–341, 345–350, 357–363, 366–370, 374–381, 387–393, 396–400, 404–411, 420–426, 429–433, 437–442, 446–452, 455–459, 463–468, 474–480, 483–487, 491–496, 500–506, 509–513, 517–522, 528–534, 537–541, 545–550, 556–562, 565–569, 573–578, 585–591, 594–598, 602–607, 619–624, 630–634, 637–641, 645–649, 656–660, 667–671, 678–682, 689–694, 698–702, 709–714, 718–723, 727–731, 738–743, 747–752, 756–760, 764–768, 777–782, 788–793, 797–802, 806–810, 814–818, 825–830, 834–839, 843–847
   test_datasource.py58041029%22–27, 31–37, 41–46, 49–53, 57–63, 67–72, 75–79, 83–89, 93–98, 101–105, 109–115, 119–124, 127–131, 135–141, 145–150, 153–157, 161–167, 171–176, 179–183, 187–193, 197–202, 205–209, 213–219, 223–228, 231–235, 239–245, 249–254, 257–261, 265–271, 275–284, 290–294, 298–308, 314–321, 327–333, 337–345, 349–357, 361–370, 379–388, 396–402, 410–418, 424–432, 440–448, 454–463, 472–481, 489–495, 503–511, 517–525, 533–541, 547–556, 565–574, 582–588, 596–604, 612–620, 628–636, 644–653, 658–664, 668–676, 680–689, 694–700, 706–714, 718–725, 731–737, 743–751, 755–764, 772–778, 784–792, 798–807, 812–818, 822–830, 836–843, 847–855, 859–867, 871–878, 884–892, 896–904, 908–915, 921–929, 933–941, 945–952, 956–964, 968–976, 980–990, 999–1010, 1014–1025, 1031–1038, 1042–1050, 1054–1062, 1066–1073, 1079–1087, 1093–1101
   test_external_group.py654235%11–16, 23–29, 33–39, 43–48, 57–63, 67–73, 79–84, 93–99, 103–109
   test_folder.py24816932%13–18, 22–28, 32–37, 43–49, 53–59, 63–68, 72–78, 82–88, 92–97, 101–106, 113–120, 127–133, 137–143, 147–152, 159–164, 171–176, 183–189, 193–199, 203–208, 214–218, 222–227, 234–240, 244–249, 253–258, 262–268, 272–278, 282–288, 292–297, 303–308, 312–318, 322–329, 335–340, 344–350, 354–358, 363–366, 371–375, 381–388, 392–399
   test_legacy_alerting.py896033%11–16, 20–25, 28–32, 36–42, 46–51, 57–61, 65–71, 75–80, 85–92, 100–104, 108–114, 118–123, 126–130, 134–140
   test_legacy_playlist.py1097432%11–16, 20–28, 32–38, 42–47, 51–59, 63–69, 73–78, 82–90, 94–100, 104–115, 119–127, 131–143, 147–152, 156–164, 168–174
   test_library.py15610533%11–16, 20–25, 37–43, 47–52, 58–64, 68–74, 78–83, 89–95, 99–105, 109–114, 120–126, 130–136, 140–145, 152–157, 166–172, 176–182, 186–191, 200–205, 214–220, 224–230, 236–241, 245–251, 255–261
   test_licensing.py523337%11–17, 21–27, 31–36, 40–46, 50–55, 59–65, 69–75
   test_model.py362336%14–15, 20–24, 29–32, 35–39, 44–51, 56–57
   test_organisation.py22812446%14–16, 20–23, 27–29, 38–41, 45–47, 56–59, 63–65, 74–77, 83–86, 90–94, 98–101, 107–110, 114–116, 120–123, 127–130, 134–138, 144–147, 153–156, 167–169, 173–176, 180–183, 187–189, 195–198, 202–205, 209–211, 215–218, 222–226, 230–233, 237–240, 244–246, 250–253, 257–260, 264–266, 270–273, 277–280, 284–286, 293–296, 300–303, 307–311, 315–318, 322–325, 329–331, 337–340, 344–347, 351–355, 359–362, 366–369
   test_other_http.py1031003%5–161
   test_playlist.py16711631%11–16, 20–26, 30–36, 40–46, 50–56, 60–65, 69–77, 81–87, 91–96, 103–111, 115–121, 125–130, 137–145, 149–155, 159–170, 176–184, 188–200, 204–215, 221–229, 233–245, 249–254, 258–266, 270–276
   test_preferences.py956235%11–16, 23–29, 33–38, 49–54, 65–70, 81–87, 91–97, 101–106, 113–119, 123–128, 135–140, 149–154, 163–169, 173–179
   test_query_history.py1298832%11–19, 26–32, 36–45, 49–54, 61–67, 71–77, 81–86, 90–96, 100–106, 110–115, 121–127, 131–137, 141–146, 152–158, 162–168, 172–177, 183–189, 193–199
   test_rbac.py67847730%11–16, 23–29, 33–39, 43–48, 55–61, 65–71, 75–80, 87–93, 97–103, 107–113, 117–131, 138–146, 153–161, 168–177, 181–187, 191–206, 210–225, 229–243, 250–258, 265–273, 280–289, 293–299, 303–318, 322–337, 341–348, 355–361, 365–371, 375–381, 385–391, 395–402, 409–415, 419–425, 429–435, 439–446, 453–459, 463–469, 473–479, 483–490, 497–503, 507–513, 517–523, 527–533, 537–544, 551–557, 561–567, 571–577, 581–587, 591–598, 605–611, 615–621, 625–631, 635–641, 645–652, 661–667, 671–677, 683–689, 693–700, 709–715, 721–727, 733–739, 743–750, 759–765, 771–777, 781–787, 793–799, 803–810, 819–825, 831–837, 841–847, 853–859, 863–870, 881–887, 893–899, 903–909, 915–921, 925–932, 939–945, 949–955, 959–965, 969–976, 983–989, 993–999, 1003–1009, 1013–1019, 1023–1030, 1037–1043, 1047–1053, 1057–1063, 1067–1073, 1077–1084, 1091–1097, 1101–1107, 1111–1117, 1121–1127, 1131–1138, 1147–1153, 1157–1163, 1169–1175
   test_reporting.py31523426%12–17, 23–29, 33–39, 43–48, 53–57, 61–67, 71–77, 81–104, 108–134, 138–163, 167–188, 191–195, 198–221, 224–246, 249–272, 275–298, 301–324, 328–350, 354–376, 380–403, 406–410, 414–436, 440–462, 466–473, 476–480, 484–490, 494–500, 504–511, 514–518, 522–528, 532–538, 542–547, 553–559, 563–569, 573–583, 589–599, 604–608, 614–623, 627–636, 640–649, 653–676, 679–683, 687–709, 713–735
   test_search.py251444%11–16, 20–26, 30–36
   test_service_account.py1739446%16–18, 25–27, 34–37, 41–43, 50–53, 57–60, 64–66, 73–76, 80–83, 87–89, 96–99, 103–106, 110–113, 117–120, 124–126, 133–135, 142–145, 149–152, 156–158, 165–168, 174–177, 181–185, 192–195, 201–204, 208–212, 221–224, 228–230, 237–240, 246–249, 253–255, 264–267, 271–273, 280–283, 287–291, 298–301, 307–310
   test_short_url.py251444%11–16, 20–26, 30–36
   test_snapshot.py1077233%11–16, 22–27, 35–39, 42–46, 50–56, 60–65, 69–75, 79–84, 90–96, 100–106, 110–119, 123–129, 133–139, 143–152, 156–162, 168–174
   test_sso_settings.py1037131%11–32, 55–67, 71–83, 87–106, 126–130, 134–144, 148–158, 162–178, 184–188, 192–209, 213–230, 234–243, 249–253, 257–267, 271–281
   test_team.py28719632%11–18, 22–29, 36–44, 48–55, 59–67, 71–79, 83–91, 95–103, 107–116, 120–127, 131–139, 143–151, 155–162, 166–174, 178–186, 190–197, 201–209, 213–221, 225–232, 236–244, 248–256, 260–267, 271–279, 283–291, 295–304, 311–319, 323–331, 335–342, 346–353, 360–367, 376–384, 388–396, 400–407, 411–417, 421–429, 433–442, 446–452, 456–464, 468–475, 479–488, 492–498, 502–510, 514–521
   test_user.py33623032%11–18, 22–29, 36–44, 48–55, 59–66, 73–80, 87–95, 99–106, 110–118, 122–130, 134–141, 147–155, 159–167, 171–181, 185–193, 197–208, 212–219, 223–231, 235–243, 247–254, 258–266, 270–277, 281–289, 293–302, 306–314, 318–326, 332–337, 341–347, 351–356, 360–366, 370–376, 380–387, 391–397, 401–407, 411–416, 420–426, 430–435, 439–444, 448–454, 458–463, 467–473, 477–483, 487–492, 496–502, 506–512, 516–521, 525–531, 535–540, 544–550, 554–560
TOTAL10390754224% 
Tests Skipped Failures Errors Time
2 0 :zzz: 0 :x: 2 :fire: 2.025s :stopwatch:

github-actions[bot] avatar Mar 23 '25 10:03 github-actions[bot]

Coverage Report
FileStmtsMissCoverMissing
src/grafana_api
   \_\_init\_\_.py00100% 
   admin.py16013312%27, 39–47, 63–85, 97–105, 117–125, 141–173, 190–206, 223–239, 255–268, 281–291, 304–314, 330–342, 359–373, 389–403, 415–425, 437–447, 459–469, 481–491, 503–513, 525–535, 547–557
   alerting.py2992658%26, 42–54, 73–101, 117–129, 148–161, 180–192, 208–220, 239–266, 282–294, 310–326, 342–354, 377–411, 431–490, 506–518, 534–546, 562–574, 591–604, 623–635, 662–705, 725–740, 760–774, 790–832, 857–910, 927–969, 981–990, 1004–1025, 1044–1065, 1077–1085
   alerting_notifications.py917513%19, 31–40, 52–61, 77–90, 106–119, 135–149, 168–182, 201–215, 231–244, 260–273, 289–303
   alerting_provisioning.py22818812%34, 50–62, 79–95, 115–131, 156–176, 192–207, 219–227, 248–273, 296–321, 337–351, 363–372, 389–405, 417–425, 441–453, 472–488, 511–527, 543–557, 569–577, 593–606, 626–642, 658–672, 686, 707–723, 736–746, 758, 785–793, 806–822, 834, 864–884, 898, 926–951
   annotations.py1181066%28, 43–100, 123–163, 183–214, 235–263, 286–299, 323–345
   api.py12210211%24, 52–96, 124–165, 191–232, 251–274, 287–296, 309–312, 326–349
   authentication.py312222%19, 37–46, 71–94, 115–129
   correlations.py624915%20, 37–50, 66–79, 91–107, 123–160, 177–192, 217–238
   dashboard.py2492208%20, 45–72, 91–112, 128–140, 152–160, 172–180, 199–232, 248–260, 276–288, 305–319, 336–350, 366–378, 394–406, 423–435, 452–464, 481–498, 515–532, 554–586, 606–628, 651–663, 686–728, 761–817, 842–869
   datasource.py29925810%27, 43–52, 72–85, 105–118, 138–151, 171–184, 203–217, 238–252, 272–285, 305–318, 338–351, 371–400, 416, 436–465, 489–530, 554–595, 622–667, 683, 703–717, 737–751, 771–784, 807–821, 842–855, 871, 891–903, 923–936, 956–969, 989–1002, 1025–1061, 1075, 1095–1107, 1127–1140
   external_group.py342520%19, 41–53, 77–91, 115–128
   folder.py12811010%21, 37–45, 65–77, 97–109, 133–156, 181–206, 227–246, 266–285, 305–318, 339–356, 372–392, 401–412
   legacy_alerting.py635212%20, 39–61, 80–102, 118–141, 158–178
   legacy_playlist.py554414%24, 40–52, 68–80, 96–108, 125–159, 175–189
   library.py847110%19, 51–73, 89–101, 117–129, 145–157, 186–219, 250–288, 304–319
   licensing.py261631%26, 42–50, 66–76, 92–102
   model.py373996%160–169
   organisation.py15112413%35–43, 59–67, 83–91, 112–126, 146–159, 179–193, 216–230, 264–276, 297–309, 326–334, 355–369, 390–404, 424–437, 457–469, 491–505, 527–541, 562–575
   playlist.py806711%24, 40–59, 75–87, 103–115, 131–143, 159–193, 210–244, 260–274
   preferences.py534313%19, 33–41, 66–97, 111–119, 144–175
   query_history.py705812%23, 40–76, 105–127, 143–155, 172–186, 202–216, 232–245
   rbac.py3883615%19, 35–56, 75–100, 120–144, 164–231, 252–320, 342–374, 397–426, 446–471, 495–527, 548–578, 607–643, 666–695, 715–740, 764–801, 824–860, 889–931, 954–983, 1004–1036, 1057–1087, 1114–1150, 1166–1192
   reporting.py1741567%28, 44–69, 89–117, 137–167, 188–220, 240–271, 295–336, 352–373, 393–465, 485–515, 519–636
   search.py14833%18, 34–44
   service_account.py1159512%42–57, 77–89, 110–124, 146–160, 180–193, 213–225, 247–261, 282–295, 311–324, 346–362, 378–386, 402–412, 433–447
   short_url.py16935%19, 35–49
   snapshot.py544314%23, 52–87, 99–107, 123–135, 151–166, 182–197
   sso_settings.py615013%25, 41–67, 87–114, 135–185, 205–235
   team.py13811910%26, 49–64, 84–96, 116–130, 152–166, 186–199, 219–231, 252–266, 287–300, 320–332, 363–396, 419–431, 456–482, 507–531
   user.py15312812%26, 52–67, 95–113, 133–145, 165–177, 198–221, 241–253, 273–285, 302–316, 330, 342–350, 370–396, 412–426, 438–446, 458–466, 482–496, 512–525, 537–545, 561–575
tests/unittests
   test_admin.py34623931%14–21, 28–36, 40–47, 54–61, 68–75, 82–90, 94–102, 106–113, 120–128, 132–139, 146–154, 158–169, 176–187, 194–202, 206–218, 222–229, 236–244, 248–256, 260–267, 274–282, 286–294, 298–305, 312–320, 324–332, 336–343, 350–358, 362–369, 376–384, 388–395, 402–410, 414–422, 426–433, 440–448, 452–460, 464–471, 478–486, 490–498, 502–509, 518–526, 530–539, 548–556, 560–567, 576–584, 588–597, 606–614, 618–627, 636–644, 648–655, 662–670, 674–684, 691–702
   test_alerting.py51437128%19–24, 30–34, 38–44, 48–54, 57–61, 67–74, 78–83, 89–93, 97–103, 107–112, 115–119, 125–131, 135–140, 146–150, 156–162, 166–171, 174–178, 182–188, 192–200, 209–217, 223–227, 233–242, 246–251, 254–258, 262–268, 272–279, 282–286, 290–296, 300–305, 311–315, 319–325, 329–341, 349–353, 359–368, 372–390, 398–402, 406–425, 431–450, 456–461, 464–468, 472–478, 482–487, 490–494, 498–504, 508–513, 516–520, 524–530, 534–539, 542–546, 550–556, 560–565, 571–575, 579–585, 589–597, 605–609, 615–624, 630–635, 638–642, 646–652, 656–661, 666–670, 674–680, 684–692, 697–701, 705–714, 718–726, 732–736, 740–748, 754–758, 762–771, 775–784, 788–793, 799–805, 809–814, 823–829, 835–841, 847–852, 860–864, 870–876, 880–885, 893–899
   test_alerting_notifications.py17512230%11–16, 24–30, 34–39, 47–53, 57–62, 67–71, 77–83, 87–92, 97–101, 107–113, 117–122, 128–132, 138–144, 148–153, 159–163, 169–175, 179–184, 190–194, 200–206, 210–215, 218–222, 228–234, 238–243, 246–250, 256–262, 266–271, 276–280, 286–292
   test_alerting_provisioning.py36726229%23–29, 40–47, 53–59, 63–71, 75–82, 88–94, 98–106, 110–117, 123–129, 133–141, 145–152, 160–166, 172–180, 186–193, 199–205, 209–217, 221–228, 235–243, 247–254, 259–265, 269–277, 281–288, 296–302, 306–314, 320–327, 330–336, 340–348, 352–359, 366–374, 378–385, 390–396, 400–408, 412–419, 425–433, 437–444, 449–455, 459–467, 471–483, 488–494, 498–507, 511–519, 524–530, 534–543, 547–554, 557–563, 567–575, 579–586, 592–600, 604–611, 617–623, 627–635, 639–646, 652–658, 662–670, 674–681, 684–690, 694–702, 705–709, 716–734
   test_annotations.py1359033%16–21, 28–33, 52–57, 76–82, 86–91, 107–113, 117–123, 136–143, 154–160, 164–170, 178–183, 200–206, 210–216, 230–235, 242–248, 252–258, 262–267, 274–279, 286–291, 298–304
   test_api.py1761732%5–423
   test_authentication.py603935%11–16, 23–29, 33–38, 45–54, 58–64, 68–73, 80–86, 90–96
   test_correlations.py1248631%11–16, 22–26, 30–36, 40–45, 51–55, 61–67, 71–76, 83–90, 97–103, 107–113, 117–125, 131–138, 142–151, 155–160, 163–167, 171–177, 181–186, 192–196, 200–206
   test_dashboard.py49834631%14–20, 30–34, 43–50, 63–72, 82–86, 97–103, 114–120, 131–141, 150–158, 170–177, 186–193, 202–210, 222–228, 238–242, 248–253, 259–265, 268–272, 276–281, 285–291, 295–300, 306–312, 316–321, 328–334, 337–341, 345–350, 357–363, 366–370, 374–381, 387–393, 396–400, 404–411, 420–426, 429–433, 437–442, 446–452, 455–459, 463–468, 474–480, 483–487, 491–496, 500–506, 509–513, 517–522, 528–534, 537–541, 545–550, 556–562, 565–569, 573–578, 585–591, 594–598, 602–607, 619–624, 630–634, 637–641, 645–649, 656–660, 667–671, 678–682, 689–694, 698–702, 709–714, 718–723, 727–731, 738–743, 747–752, 756–760, 764–768, 777–782, 788–793, 797–802, 806–810, 814–818, 825–830, 834–839, 843–847
   test_datasource.py58041029%22–27, 31–37, 41–46, 49–53, 57–63, 67–72, 75–79, 83–89, 93–98, 101–105, 109–115, 119–124, 127–131, 135–141, 145–150, 153–157, 161–167, 171–176, 179–183, 187–193, 197–202, 205–209, 213–219, 223–228, 231–235, 239–245, 249–254, 257–261, 265–271, 275–284, 290–294, 298–308, 314–321, 327–333, 337–345, 349–357, 361–370, 379–388, 396–402, 410–418, 424–432, 440–448, 454–463, 472–481, 489–495, 503–511, 517–525, 533–541, 547–556, 565–574, 582–588, 596–604, 612–620, 628–636, 644–653, 658–664, 668–676, 680–689, 694–700, 706–714, 718–725, 731–737, 743–751, 755–764, 772–778, 784–792, 798–807, 812–818, 822–830, 836–843, 847–855, 859–867, 871–878, 884–892, 896–904, 908–915, 921–929, 933–941, 945–952, 956–964, 968–976, 980–990, 999–1010, 1014–1025, 1031–1038, 1042–1050, 1054–1062, 1066–1073, 1079–1087, 1093–1101
   test_external_group.py654235%11–16, 23–29, 33–39, 43–48, 57–63, 67–73, 79–84, 93–99, 103–109
   test_folder.py24816932%13–18, 22–28, 32–37, 43–49, 53–59, 63–68, 72–78, 82–88, 92–97, 101–106, 113–120, 127–133, 137–143, 147–152, 159–164, 171–176, 183–189, 193–199, 203–208, 214–218, 222–227, 234–240, 244–249, 253–258, 262–268, 272–278, 282–288, 292–297, 303–308, 312–318, 322–329, 335–340, 344–350, 354–358, 363–366, 371–375, 381–388, 392–399
   test_legacy_alerting.py896033%11–16, 20–25, 28–32, 36–42, 46–51, 57–61, 65–71, 75–80, 85–92, 100–104, 108–114, 118–123, 126–130, 134–140
   test_legacy_playlist.py1097432%11–16, 20–28, 32–38, 42–47, 51–59, 63–69, 73–78, 82–90, 94–100, 104–115, 119–127, 131–143, 147–152, 156–164, 168–174
   test_library.py15610533%11–16, 20–25, 37–43, 47–52, 58–64, 68–74, 78–83, 89–95, 99–105, 109–114, 120–126, 130–136, 140–145, 152–157, 166–172, 176–182, 186–191, 200–205, 214–220, 224–230, 236–241, 245–251, 255–261
   test_licensing.py523337%11–17, 21–27, 31–36, 40–46, 50–55, 59–65, 69–75
   test_model.py362336%14–15, 20–24, 29–32, 35–39, 44–51, 56–57
   test_organisation.py22812446%14–16, 20–23, 27–29, 38–41, 45–47, 56–59, 63–65, 74–77, 83–86, 90–94, 98–101, 107–110, 114–116, 120–123, 127–130, 134–138, 144–147, 153–156, 167–169, 173–176, 180–183, 187–189, 195–198, 202–205, 209–211, 215–218, 222–226, 230–233, 237–240, 244–246, 250–253, 257–260, 264–266, 270–273, 277–280, 284–286, 293–296, 300–303, 307–311, 315–318, 322–325, 329–331, 337–340, 344–347, 351–355, 359–362, 366–369
   test_other_http.py1031003%5–161
   test_playlist.py16711631%11–16, 20–26, 30–36, 40–46, 50–56, 60–65, 69–77, 81–87, 91–96, 103–111, 115–121, 125–130, 137–145, 149–155, 159–170, 176–184, 188–200, 204–215, 221–229, 233–245, 249–254, 258–266, 270–276
   test_preferences.py956235%11–16, 23–29, 33–38, 49–54, 65–70, 81–87, 91–97, 101–106, 113–119, 123–128, 135–140, 149–154, 163–169, 173–179
   test_query_history.py1298832%11–19, 26–32, 36–45, 49–54, 61–67, 71–77, 81–86, 90–96, 100–106, 110–115, 121–127, 131–137, 141–146, 152–158, 162–168, 172–177, 183–189, 193–199
   test_rbac.py67847730%11–16, 23–29, 33–39, 43–48, 55–61, 65–71, 75–80, 87–93, 97–103, 107–113, 117–131, 138–146, 153–161, 168–177, 181–187, 191–206, 210–225, 229–243, 250–258, 265–273, 280–289, 293–299, 303–318, 322–337, 341–348, 355–361, 365–371, 375–381, 385–391, 395–402, 409–415, 419–425, 429–435, 439–446, 453–459, 463–469, 473–479, 483–490, 497–503, 507–513, 517–523, 527–533, 537–544, 551–557, 561–567, 571–577, 581–587, 591–598, 605–611, 615–621, 625–631, 635–641, 645–652, 661–667, 671–677, 683–689, 693–700, 709–715, 721–727, 733–739, 743–750, 759–765, 771–777, 781–787, 793–799, 803–810, 819–825, 831–837, 841–847, 853–859, 863–870, 881–887, 893–899, 903–909, 915–921, 925–932, 939–945, 949–955, 959–965, 969–976, 983–989, 993–999, 1003–1009, 1013–1019, 1023–1030, 1037–1043, 1047–1053, 1057–1063, 1067–1073, 1077–1084, 1091–1097, 1101–1107, 1111–1117, 1121–1127, 1131–1138, 1147–1153, 1157–1163, 1169–1175
   test_reporting.py31523426%12–17, 23–29, 33–39, 43–48, 53–57, 61–67, 71–77, 81–104, 108–134, 138–163, 167–188, 191–195, 198–221, 224–246, 249–272, 275–298, 301–324, 328–350, 354–376, 380–403, 406–410, 414–436, 440–462, 466–473, 476–480, 484–490, 494–500, 504–511, 514–518, 522–528, 532–538, 542–547, 553–559, 563–569, 573–583, 589–599, 604–608, 614–623, 627–636, 640–649, 653–676, 679–683, 687–709, 713–735
   test_search.py251444%11–16, 20–26, 30–36
   test_service_account.py1739446%16–18, 25–27, 34–37, 41–43, 50–53, 57–60, 64–66, 73–76, 80–83, 87–89, 96–99, 103–106, 110–113, 117–120, 124–126, 133–135, 142–145, 149–152, 156–158, 165–168, 174–177, 181–185, 192–195, 201–204, 208–212, 221–224, 228–230, 237–240, 246–249, 253–255, 264–267, 271–273, 280–283, 287–291, 298–301, 307–310
   test_short_url.py251444%11–16, 20–26, 30–36
   test_snapshot.py1077233%11–16, 22–27, 35–39, 42–46, 50–56, 60–65, 69–75, 79–84, 90–96, 100–106, 110–119, 123–129, 133–139, 143–152, 156–162, 168–174
   test_sso_settings.py1037131%11–32, 55–67, 71–83, 87–106, 126–130, 134–144, 148–158, 162–178, 184–188, 192–209, 213–230, 234–243, 249–253, 257–267, 271–281
   test_team.py28719632%11–18, 22–29, 36–44, 48–55, 59–67, 71–79, 83–91, 95–103, 107–116, 120–127, 131–139, 143–151, 155–162, 166–174, 178–186, 190–197, 201–209, 213–221, 225–232, 236–244, 248–256, 260–267, 271–279, 283–291, 295–304, 311–319, 323–331, 335–342, 346–353, 360–367, 376–384, 388–396, 400–407, 411–417, 421–429, 433–442, 446–452, 456–464, 468–475, 479–488, 492–498, 502–510, 514–521
   test_user.py33623032%11–18, 22–29, 36–44, 48–55, 59–66, 73–80, 87–95, 99–106, 110–118, 122–130, 134–141, 147–155, 159–167, 171–181, 185–193, 197–208, 212–219, 223–231, 235–243, 247–254, 258–266, 270–277, 281–289, 293–302, 306–314, 318–326, 332–337, 341–347, 351–356, 360–366, 370–376, 380–387, 391–397, 401–407, 411–416, 420–426, 430–435, 439–444, 448–454, 458–463, 467–473, 477–483, 487–492, 496–502, 506–512, 516–521, 525–531, 535–540, 544–550, 554–560
TOTAL10390754224% 
Tests Skipped Failures Errors Time
2 0 :zzz: 0 :x: 2 :fire: 1.965s :stopwatch:

github-actions[bot] avatar Mar 23 '25 10:03 github-actions[bot]

Coverage Report
FileStmtsMissCoverMissing
src/grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py2990100% 
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1222875%88–94, 191–232
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2990100% 
   external_group.py340100% 
   folder.py1280100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3730100% 
   organisation.py1510100% 
   other_http.py64494%185–189
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1530100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5140100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5800100% 
   test_external_group.py650100% 
   test_folder.py2480100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py3360100% 
TOTAL104543299% 
Tests Skipped Failures Errors Time
1006 0 :zzz: 7 :x: 7 :fire: 4.998s :stopwatch:

github-actions[bot] avatar Mar 23 '25 11:03 github-actions[bot]

Tests Skipped Failures Errors Time
1006 0 :zzz: 7 :x: 7 :fire: 5.086s :stopwatch:

github-actions[bot] avatar Apr 20 '25 17:04 github-actions[bot]

Tests Skipped Failures Errors Time
1006 0 :zzz: 7 :x: 7 :fire: 5.155s :stopwatch:

github-actions[bot] avatar Apr 20 '25 17:04 github-actions[bot]

Tests Skipped Failures Errors Time
1006 0 :zzz: 7 :x: 7 :fire: 5.005s :stopwatch:

github-actions[bot] avatar Apr 21 '25 11:04 github-actions[bot]

Tests Skipped Failures Errors Time
1006 0 :zzz: 7 :x: 7 :fire: 5.145s :stopwatch:

github-actions[bot] avatar Apr 21 '25 11:04 github-actions[bot]