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):
61
61
).get ()
62
62
63
63
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 :
65
65
ret .append (self ._build_termination_data (a_terminations_data ))
66
66
if not cable_data :
67
67
ret .append (cable_data )
Original file line number Diff line number Diff line change 18
18
19
19
20
20
class VirtualMachines (Record ):
21
-
22
21
primary_ip = IpAddresses
23
22
primary_ip4 = IpAddresses
24
23
primary_ip6 = IpAddresses
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ def pytest_configure(config):
55
55
for version_string in config .option .netbox_versions .split ("," )
56
56
]
57
57
if "no:docker" in config .option .plugins and config .option .url_override :
58
-
59
58
url_parse = parse .urlparse (config .option .url_override )
60
59
61
60
class DockerServicesMock :
Original file line number Diff line number Diff line change @@ -17,15 +17,13 @@ def test_filter(self):
17
17
self .assertEqual (len (test ), 2 )
18
18
19
19
def test_filter_invalid_pagination_args (self ):
20
-
21
20
api = Mock (base_url = "http://localhost:8000/api" )
22
21
app = Mock (name = "test" )
23
22
test_obj = Endpoint (api , app , "test" )
24
23
with self .assertRaises (ValueError ) as _ :
25
24
test_obj .filter (offset = 1 )
26
25
27
26
def test_all_invalid_pagination_args (self ):
28
-
29
27
api = Mock (base_url = "http://localhost:8000/api" )
30
28
app = Mock (name = "test" )
31
29
test_obj = Endpoint (api , app , "test" )
You can’t perform that action at this time.
0 commit comments