Fixed linting warnings

This commit is contained in:
Sonny Bakker 2025-02-27 22:16:41 +01:00
parent 03666c3334
commit df869b0828

View file

@ -1,7 +1,7 @@
import json import json
import os import os
from unittest import TestCase, skip from unittest import TestCase
from unittest.mock import call, patch, Mock from unittest.mock import call, patch, Mock
from pathlib import Path from pathlib import Path
@ -225,7 +225,7 @@ class RunTestCase(TestCase):
self.assertEqual(result.exit_code, 0) self.assertEqual(result.exit_code, 0)
self.mocked_get.assert_called_with( self.mocked_get.assert_called_with(
f"https://other-provider.com/domains/foobar.com/dns", "https://other-provider.com/domains/foobar.com/dns",
headers={"Authorization": "Bearer token"}, headers={"Authorization": "Bearer token"},
) )
@ -243,7 +243,7 @@ class RunTestCase(TestCase):
) )
self.mocked_put.assert_called_with( self.mocked_put.assert_called_with(
f"https://other-provider.com/domains/foobar.com/dns", "https://other-provider.com/domains/foobar.com/dns",
data=expected_json, data=expected_json,
headers={"Authorization": "Bearer token"}, headers={"Authorization": "Bearer token"},
) )