What genuine fuck just happened ?

This commit is contained in:
2026-01-02 16:56:22 +01:00
parent 606f0e0a2a
commit 04f21e8e32
41 changed files with 3361 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# 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
from board_mate.message.api.message_api import MessageApi # noqa: E501
class TestMessageApi(unittest.TestCase):
"""MessageApi unit test stubs"""
def setUp(self) -> None:
self.api = MessageApi() # noqa: E501
def tearDown(self) -> None:
pass
def test_history(self) -> None:
"""Test case for history
GET message/history/{clientId} # noqa: E501
"""
pass
def test_post_message(self) -> None:
"""Test case for post_message
POST message/send # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()

View File

@@ -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()

View File

@@ -0,0 +1,54 @@
# 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_post_request_dto import MessagePostRequestDto # noqa: E501
class TestMessagePostRequestDto(unittest.TestCase):
"""MessagePostRequestDto unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> MessagePostRequestDto:
"""Test MessagePostRequestDto
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 `MessagePostRequestDto`
"""
model = MessagePostRequestDto() # noqa: E501
if include_optional:
return MessagePostRequestDto(
content = '',
client_id = '',
time_stamp = 56
)
else:
return MessagePostRequestDto(
)
"""
def testMessagePostRequestDto(self):
"""Test MessagePostRequestDto"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,58 @@
# 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.response_body_list_message_dto import ResponseBodyListMessageDto # noqa: E501
class TestResponseBodyListMessageDto(unittest.TestCase):
"""ResponseBodyListMessageDto unit test stubs"""
def setUp(self):
pass
def tearDown(self):
pass
def make_instance(self, include_optional) -> ResponseBodyListMessageDto:
"""Test ResponseBodyListMessageDto
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 `ResponseBodyListMessageDto`
"""
model = ResponseBodyListMessageDto() # noqa: E501
if include_optional:
return ResponseBodyListMessageDto(
data = [
board_mate.message.models.message_dto.MessageDto(
content = '',
timestamp = 56, )
],
message = '',
success = True
)
else:
return ResponseBodyListMessageDto(
)
"""
def testResponseBodyListMessageDto(self):
"""Test ResponseBodyListMessageDto"""
# inst_req_only = self.make_instance(include_optional=False)
# inst_req_and_optional = self.make_instance(include_optional=True)
if __name__ == '__main__':
unittest.main()