File tree Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Expand file tree Collapse file tree 4 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def trace(self):
6161 ).get ()
6262
6363 ret = []
64- for ( a_terminations_data , cable_data , b_terminations_data ) in req :
64+ for a_terminations_data , cable_data , b_terminations_data in req :
6565 ret .append (self ._build_termination_data (a_terminations_data ))
6666 if not cable_data :
6767 ret .append (cable_data )
Original file line number Diff line number Diff line change 1818
1919
2020class VirtualMachines (Record ):
21-
2221 primary_ip = IpAddresses
2322 primary_ip4 = IpAddresses
2423 primary_ip6 = IpAddresses
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ def pytest_configure(config):
5555 for version_string in config .option .netbox_versions .split ("," )
5656 ]
5757 if "no:docker" in config .option .plugins and config .option .url_override :
58-
5958 url_parse = parse .urlparse (config .option .url_override )
6059
6160 class DockerServicesMock :
Original file line number Diff line number Diff line change @@ -17,15 +17,13 @@ def test_filter(self):
1717 self .assertEqual (len (test ), 2 )
1818
1919 def test_filter_invalid_pagination_args (self ):
20-
2120 api = Mock (base_url = "http://localhost:8000/api" )
2221 app = Mock (name = "test" )
2322 test_obj = Endpoint (api , app , "test" )
2423 with self .assertRaises (ValueError ) as _ :
2524 test_obj .filter (offset = 1 )
2625
2726 def test_all_invalid_pagination_args (self ):
28-
2927 api = Mock (base_url = "http://localhost:8000/api" )
3028 app = Mock (name = "test" )
3129 test_obj = Endpoint (api , app , "test" )
You can’t perform that action at this time.
0 commit comments