File: test_utils.py

package info (click to toggle)
flask-openapi3 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,976 kB
  • sloc: python: 4,754; sh: 17; makefile: 15; javascript: 5
file content (9 lines) | stat: -rw-r--r-- 243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# -*- coding: utf-8 -*-
# @Author  : llc
# @Time    : 2022/12/19 10:34

from flask_openapi3.utils import normalize_name


def test_normalize_name():
    assert "List-Generic.Response_Detail_" == normalize_name("List-Generic.Response[Detail]")