Skip to content

Commit 26c4e72

Browse files
committed
fix syntax
1 parent d06dd07 commit 26c4e72

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

integration/python/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ def assert_get_form_config(client: Client):
7777
if len(form.elements) != 3:
7878
raise Exception("Test assert_get_form_config failed: Elements, got: " + len(form.elements))
7979

80-
if !isinstance(form.elements[0], CommonFormElementInput):
80+
if not isinstance(form.elements[0], CommonFormElementInput):
8181
raise Exception("Test assert_get_form_config failed: Elements.0, got: " + form.elements[0].__class__.__name__)
8282

8383
input = form.elements[0]
8484
if input.type != "text":
8585
raise Exception("Test assert_get_form_config failed: Elements.0.Type, got: " + input.type)
8686

87-
if !isinstance(form.elements[1], CommonFormElementSelect):
87+
if not isinstance(form.elements[1], CommonFormElementSelect):
8888
raise Exception("Test assert_get_form_config failed: Elements.1, got: " + form.elements[1].__class__.__name__)
8989

9090
select = form.elements[1]
9191
if len(select.options) != 2:
9292
raise Exception("Test assert_get_form_config failed: Elements.1.Options, got: " + len(select.options))
9393

94-
if !isinstance(form.elements[2], CommonFormElementTextArea):
94+
if not isinstance(form.elements[2], CommonFormElementTextArea):
9595
raise Exception("Test assert_get_form_config failed: Elements.2, got: " + form.elements[2].__class__.__name__)
9696

9797

0 commit comments

Comments
 (0)