mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Reformat everything.
This commit is contained in:
@@ -161,7 +161,9 @@ IPBASE_DATA = {
|
||||
|
||||
|
||||
class TestIpbase(unittest.TestCase):
|
||||
def test_info(self,):
|
||||
def test_info(
|
||||
self,
|
||||
):
|
||||
"test the json data extraction"
|
||||
|
||||
params = {
|
||||
@@ -173,7 +175,7 @@ class TestIpbase(unittest.TestCase):
|
||||
module = Mock()
|
||||
module.params = params
|
||||
|
||||
data = json.loads(IPBASE_DATA['response'].decode("utf-8"))
|
||||
data = json.loads(IPBASE_DATA["response"].decode("utf-8"))
|
||||
|
||||
IpbaseInfo._get_url_data = Mock()
|
||||
IpbaseInfo._get_url_data.return_value = data
|
||||
|
||||
Reference in New Issue
Block a user