Skip to content

Commit dcd452c

Browse files
committed
Fix tests
1 parent d517d70 commit dcd452c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_integration/test_openapi/test_schema.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ def api_schema(transactional_db: None, admin_user: User) -> OpenApiSchema:
4444
schema = st.pytest.from_fixture('api_schema')
4545

4646
# Register custom strategies:
47-
st.openapi.format('phone', strategies.from_regex(r'\+7-\d{3}-\d{3}-\d{4}'))
47+
st.openapi.format(
48+
'phone',
49+
strategies.from_regex(r'\+7-\d{3}-\d{3}-\d{2}-\d{2}'),
50+
)
4851

4952

5053
@schema.parametrize()

0 commit comments

Comments
 (0)