Skip to content

Commit

Permalink
CTOOLS-373: Added missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Storey-Finbourne committed Sep 30, 2024
1 parent 063aad5 commit 7ea6d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generate/templates/api_test.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{{>partial_header}}

from typing import List
from typing import List, Dict
import unittest
import json
from xeger import Xeger
Expand Down Expand Up @@ -58,7 +58,7 @@ class {{#operations}}Test{{classname}}(unittest.IsolatedAsyncioTestCase):
regex = r"{{{vendorExtensions.x-regex}}}"
regex_map = {
r'^(?=.*[a-zA-Z])[\\w][\\w +-]{2,100}$': "val",
r'^[a-zA-Z0-9\\+/]*={0,3}$': "L0cQS8zhCs="
r'^[a-zA-Z0-9\\+/]*={0,3}$': "L=="
}

{{paramName}}: {{{dataType}}} = xegerObj.xeger(r"{{{vendorExtensions.x-regex}}}")
Expand Down

0 comments on commit 7ea6d99

Please sign in to comment.