diff --git a/host_dumper.py b/host_dumper.py index 951c064d3..b7d12ef6d 100644 --- a/host_dumper.py +++ b/host_dumper.py @@ -44,7 +44,7 @@ elif args.insights_id: print("looking up host using insights_id") query_results = Host.query.filter( - Host.canonical_facts.comparator.contains({'insights_id':args.insights_id}) + Host.canonical_facts.comparator.contains({'insights_id': args.insights_id}) ).all() elif args.account_number: query_results = Host.query.filter( diff --git a/test_api.py b/test_api.py index 981007ce4..689245429 100755 --- a/test_api.py +++ b/test_api.py @@ -870,7 +870,7 @@ def _valid_system_profile(self): "infrastructure_vendor": "dell", "network_interfaces": [{"ipv4_addresses": ["10.10.10.1"], "state": "UP", - "ipv6_addresses": ["2001:0db8:85a3:0000:0000:8a2e:0370:7334",], + "ipv6_addresses": ["2001:0db8:85a3:0000:0000:8a2e:0370:7334"], "mtu": 1500, "mac_address": "aa:bb:cc:dd:ee:ff", "type": "loopback",