Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffa committed Jul 13, 2023
1 parent 6fde516 commit 3faf620
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samtranslator/validator/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@
from samtranslator.internal.deprecation_control import deprecated


@deprecated()
class SamTemplateValidator:
"""
Using dummy values; unused code.
"""

UNICODE_TYPE_REGEX = re.compile("u('[^']+')")

@deprecated()
def __init__(self, schema=None) -> None: # type: ignore[no-untyped-def]
pass

@staticmethod
@deprecated()
def validate(template_dict, schema=None): # type: ignore[no-untyped-def]
return ""

@deprecated()
def get_errors(self, template_dict): # type: ignore[no-untyped-def]
return []

Expand Down

0 comments on commit 3faf620

Please sign in to comment.