Skip to content

Commit

Permalink
Force new name on tool type unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Feb 12, 2024
1 parent f3bb5c7 commit 0b28283
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unittests/test_swagger_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,6 +785,9 @@ def __init__(self, *args, **kwargs):
self.viewset = ToolTypesViewSet
self.model = Tool_Type
self.serializer = ToolTypeSerializer
self.field_transformers = {
"name": lambda v: v + "_new"
}


class UserTest(BaseClass.SchemaTest):
Expand Down

0 comments on commit 0b28283

Please sign in to comment.