Skip to content

Commit 9f49993

Browse files
committed
linting test case
1 parent b9d8cf8 commit 9f49993

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_cases/force_exceptions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ def test_invalid_credentials_exception():
4848
with pytest.raises(PHPyPAMInvalidCredentials):
4949
phpypam.api(**connection_kwargs)
5050

51+
5152
@vcr.use_cassette(cassette_name('test_entity_not_found_exception'),
5253
filter_headers=FILTER_REQUEST_HEADERS,
5354
before_record_request=filter_request_uri,
5455
before_recorde_response=filter_response
55-
)
56+
)
5657
def test_entity_not_found_execption(pi):
5758
"""Test not found execption on empty subnet.
5859
5960
Create an empty subnet, search for addresses and get not found exception.
6061
"""
61-
6262
my_subnet = dict(
6363
subnet='172.16.0.0',
6464
mask=24,
@@ -81,6 +81,6 @@ def test_entity_not_found_execption(pi):
8181

8282
print(entity)
8383
with pytest.raises(PHPyPAMEntityNotFoundException):
84-
pi.get_entity(controller='subnets', controller_path=entity['id']+'/addresses')
84+
pi.get_entity(controller='subnets', controller_path=entity['id'] + '/addresses')
8585

8686
pi.delete_entity(controller='subnets', controller_path=entity['id'])

0 commit comments

Comments
 (0)