tests.hcoopmeetbotlogic.testdata

Module Contents

tests.hcoopmeetbotlogic.testdata.START_TIME
tests.hcoopmeetbotlogic.testdata.contents(path: str) str

Get contents of a file for comparison.

tests.hcoopmeetbotlogic.testdata.time(seconds: int) datetime.datetime

Generate a timestamp relative to START_TIME

tests.hcoopmeetbotlogic.testdata.message(identifier: int, nick: str, payload: str, seconds: int) hcoopmeetbotlogic.interface.Message

Generate a mocked message with some values

tests.hcoopmeetbotlogic.testdata.sample_meeting() hcoopmeetbotlogic.meeting.Meeting

Generate a semi-realistic meeting that can be used for unit tests