mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-12 23:15:06 +00:00
Reformat everything.
This commit is contained in:
parent
3f2213791a
commit
340ff8586d
1008 changed files with 61301 additions and 58309 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue