What genuine fuck just happened ?
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
boardmate_api API
|
||||
|
||||
boardmate_api API
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
import unittest
|
||||
import datetime
|
||||
|
||||
from board_mate.message.models.message_dto import MessageDto # noqa: E501
|
||||
|
||||
class TestMessageDto(unittest.TestCase):
|
||||
"""MessageDto unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def make_instance(self, include_optional) -> MessageDto:
|
||||
"""Test MessageDto
|
||||
include_option is a boolean, when False only required
|
||||
params are included, when True both required and
|
||||
optional params are included """
|
||||
# uncomment below to create an instance of `MessageDto`
|
||||
"""
|
||||
model = MessageDto() # noqa: E501
|
||||
if include_optional:
|
||||
return MessageDto(
|
||||
content = '',
|
||||
timestamp = 56
|
||||
)
|
||||
else:
|
||||
return MessageDto(
|
||||
)
|
||||
"""
|
||||
|
||||
def testMessageDto(self):
|
||||
"""Test MessageDto"""
|
||||
# inst_req_only = self.make_instance(include_optional=False)
|
||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user