diff options
Diffstat (limited to 'test/units/modules/network')
26 files changed, 27 insertions, 27 deletions
diff --git a/test/units/modules/network/aireos/aireos_module.py b/test/units/modules/network/aireos/aireos_module.py index 5fc6c93578..1ac1b5275c 100644 --- a/test/units/modules/network/aireos/aireos_module.py +++ b/test/units/modules/network/aireos/aireos_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/aruba/aruba_module.py b/test/units/modules/network/aruba/aruba_module.py index d11d7d4393..9d305b6b41 100644 --- a/test/units/modules/network/aruba/aruba_module.py +++ b/test/units/modules/network/aruba/aruba_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/cnos/cnos_module.py b/test/units/modules/network/cnos/cnos_module.py index bc1428fff0..e31cedd7cc 100644 --- a/test/units/modules/network/cnos/cnos_module.py +++ b/test/units/modules/network/cnos/cnos_module.py @@ -44,7 +44,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/dellos10/dellos10_module.py b/test/units/modules/network/dellos10/dellos10_module.py index 4521bb2e38..24698d20a2 100644 --- a/test/units/modules/network/dellos10/dellos10_module.py +++ b/test/units/modules/network/dellos10/dellos10_module.py @@ -42,7 +42,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/dellos6/dellos6_module.py b/test/units/modules/network/dellos6/dellos6_module.py index 7f0b3da4b4..2323a02dd9 100644 --- a/test/units/modules/network/dellos6/dellos6_module.py +++ b/test/units/modules/network/dellos6/dellos6_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/dellos9/dellos9_module.py b/test/units/modules/network/dellos9/dellos9_module.py index 4bf092c7ae..2dfa9d7eb6 100644 --- a/test/units/modules/network/dellos9/dellos9_module.py +++ b/test/units/modules/network/dellos9/dellos9_module.py @@ -42,7 +42,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/edgeos/edgeos_module.py b/test/units/modules/network/edgeos/edgeos_module.py index 59c7b3e3fc..dfab2974f4 100644 --- a/test/units/modules/network/edgeos/edgeos_module.py +++ b/test/units/modules/network/edgeos/edgeos_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/edgeswitch/edgeswitch_module.py b/test/units/modules/network/edgeswitch/edgeswitch_module.py index 1731bc6817..37c8b8aa28 100644 --- a/test/units/modules/network/edgeswitch/edgeswitch_module.py +++ b/test/units/modules/network/edgeswitch/edgeswitch_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/enos/enos_module.py b/test/units/modules/network/enos/enos_module.py index c97cd5cc35..a7af81c3c2 100644 --- a/test/units/modules/network/enos/enos_module.py +++ b/test/units/modules/network/enos/enos_module.py @@ -43,7 +43,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/eos/eos_module.py b/test/units/modules/network/eos/eos_module.py index d9d5d44fa2..3ae2aa5e64 100644 --- a/test/units/modules/network/eos/eos_module.py +++ b/test/units/modules/network/eos/eos_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/exos/exos_module.py b/test/units/modules/network/exos/exos_module.py index 067df1e014..da4ece7e6c 100644 --- a/test/units/modules/network/exos/exos_module.py +++ b/test/units/modules/network/exos/exos_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/ingate/ingate_module.py b/test/units/modules/network/ingate/ingate_module.py index 6e11cadbdc..acdda8e99e 100644 --- a/test/units/modules/network/ingate/ingate_module.py +++ b/test/units/modules/network/ingate/ingate_module.py @@ -41,7 +41,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/ios/ios_module.py b/test/units/modules/network/ios/ios_module.py index f450c4ad26..7a63d5d82a 100644 --- a/test/units/modules/network/ios/ios_module.py +++ b/test/units/modules/network/ios/ios_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/iosxr/iosxr_module.py b/test/units/modules/network/iosxr/iosxr_module.py index a8229ca3df..55f2a23688 100644 --- a/test/units/modules/network/iosxr/iosxr_module.py +++ b/test/units/modules/network/iosxr/iosxr_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/ironware/ironware_module.py b/test/units/modules/network/ironware/ironware_module.py index a66a7754b4..918e75b2d3 100644 --- a/test/units/modules/network/ironware/ironware_module.py +++ b/test/units/modules/network/ironware/ironware_module.py @@ -41,7 +41,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/junos/junos_module.py b/test/units/modules/network/junos/junos_module.py index b0701b1fe2..055b40a4d4 100644 --- a/test/units/modules/network/junos/junos_module.py +++ b/test/units/modules/network/junos/junos_module.py @@ -44,12 +44,12 @@ def load_fixture(name, content='xml'): data = f.read() try: data = json.load(path) - except: + except Exception: pass else: try: data = parse(path).getroot() - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/netvisor/nvos_module.py b/test/units/modules/network/netvisor/nvos_module.py index cef888a255..614d59440a 100644 --- a/test/units/modules/network/netvisor/nvos_module.py +++ b/test/units/modules/network/netvisor/nvos_module.py @@ -30,7 +30,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/nos/nos_module.py b/test/units/modules/network/nos/nos_module.py index bc9e56580f..80a24f01fc 100644 --- a/test/units/modules/network/nos/nos_module.py +++ b/test/units/modules/network/nos/nos_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/nxos/nxos_module.py b/test/units/modules/network/nxos/nxos_module.py index 342ec550d0..7a9871be8c 100644 --- a/test/units/modules/network/nxos/nxos_module.py +++ b/test/units/modules/network/nxos/nxos_module.py @@ -50,7 +50,7 @@ def load_fixture(module_name, name, device=''): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/onyx/onyx_module.py b/test/units/modules/network/onyx/onyx_module.py index 2234ae5f0d..cee5e0c683 100644 --- a/test/units/modules/network/onyx/onyx_module.py +++ b/test/units/modules/network/onyx/onyx_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/opx/opx_module.py b/test/units/modules/network/opx/opx_module.py index 7b5ed21cb0..3741771f0e 100644 --- a/test/units/modules/network/opx/opx_module.py +++ b/test/units/modules/network/opx/opx_module.py @@ -42,7 +42,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/ovs/ovs_module.py b/test/units/modules/network/ovs/ovs_module.py index fe49809d50..7864d9308f 100644 --- a/test/units/modules/network/ovs/ovs_module.py +++ b/test/units/modules/network/ovs/ovs_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/routeros/routeros_module.py b/test/units/modules/network/routeros/routeros_module.py index 3ddd33a135..cf9a3dfe2d 100644 --- a/test/units/modules/network/routeros/routeros_module.py +++ b/test/units/modules/network/routeros/routeros_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/slxos/slxos_module.py b/test/units/modules/network/slxos/slxos_module.py index e2d3d4401b..8cd482ed11 100644 --- a/test/units/modules/network/slxos/slxos_module.py +++ b/test/units/modules/network/slxos/slxos_module.py @@ -39,7 +39,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/voss/voss_module.py b/test/units/modules/network/voss/voss_module.py index 93df60f1b6..d5ca438c06 100644 --- a/test/units/modules/network/voss/voss_module.py +++ b/test/units/modules/network/voss/voss_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data diff --git a/test/units/modules/network/vyos/vyos_module.py b/test/units/modules/network/vyos/vyos_module.py index 264cd5c66e..138c684e88 100644 --- a/test/units/modules/network/vyos/vyos_module.py +++ b/test/units/modules/network/vyos/vyos_module.py @@ -40,7 +40,7 @@ def load_fixture(name): try: data = json.loads(data) - except: + except Exception: pass fixture_data[path] = data |