Skip to content

Commit d85ec66

Browse files
committed
remove useless backslash
1 parent 876cd65 commit d85ec66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_cases/force_exceptions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def test_entity_not_found_execption(pi):
6767
)
6868

6969
try:
70-
entity = pi.get_entity(controller='subnets', \
71-
controller_path="cidr/{}/{}".format(my_subnet['subnet'], my_subnet['mask']), \
70+
entity = pi.get_entity(controller='subnets',
71+
controller_path="cidr/{}/{}".format(my_subnet['subnet'], my_subnet['mask']),
7272
params={'filter_by': 'sectionId', 'filter_value': my_subnet['sectionId']})
7373
except PHPyPAMEntityNotFoundException:
7474
entity = pi.create_entity(controller='subnets', data=my_subnet)

0 commit comments

Comments
 (0)