Skip to content

Commit

Permalink
Fixed formatting in alerting tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maharacha authored and amotl committed Nov 16, 2022
1 parent cca74a8 commit 64175aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/elements/test_alerting.py
Expand Up @@ -35,7 +35,9 @@ def test_get_alertrule(self, m):

@requests_mock.Mocker()
def test_delete_alertrule(self, m):
m.delete("http://localhost/api/ruler/grafana/api/v1/rules/alert-folder/alert-rule-test", json={"uid": "bUUGqLiVk"})
m.delete(
"http://localhost/api/ruler/grafana/api/v1/rules/alert-folder/alert-rule-test", json={"uid": "bUUGqLiVk"}
)
response = self.grafana.alerting.delete_alertrule("alert-folder", "alert-rule-test")
self.assertEqual(response["uid"], "bUUGqLiVk")

Expand Down

0 comments on commit 64175aa

Please sign in to comment.