File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,17 @@ def test_invalid_credentials_exception():
48
48
with pytest .raises (PHPyPAMInvalidCredentials ):
49
49
phpypam .api (** connection_kwargs )
50
50
51
+
51
52
@vcr .use_cassette (cassette_name ('test_entity_not_found_exception' ),
52
53
filter_headers = FILTER_REQUEST_HEADERS ,
53
54
before_record_request = filter_request_uri ,
54
55
before_recorde_response = filter_response
55
- )
56
+ )
56
57
def test_entity_not_found_execption (pi ):
57
58
"""Test not found execption on empty subnet.
58
59
59
60
Create an empty subnet, search for addresses and get not found exception.
60
61
"""
61
-
62
62
my_subnet = dict (
63
63
subnet = '172.16.0.0' ,
64
64
mask = 24 ,
@@ -81,6 +81,6 @@ def test_entity_not_found_execption(pi):
81
81
82
82
print (entity )
83
83
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' )
85
85
86
86
pi .delete_entity (controller = 'subnets' , controller_path = entity ['id' ])
You can’t perform that action at this time.
0 commit comments