@@ -0,0 +1,565 @@
+%22%22%22%0A:Copyright: 2007-2021 Jochen Kupperschmidt%0A:License: MIT, see LICENSE for details.%0A%22%22%22%0A%0Aimport pytest%0A%0Afrom syslog2irc.irc import Bot, create_bot, DummyBot, IrcConfig, IrcServer%0A%0A%0A@pytest.mark.parametrize(%0A    'server, expected_type',%0A    %5B%0A        (IrcServer('irc.server.test'), Bot),%0A        (None, DummyBot),%0A    %5D,%0A)%0Adef test_create_bot(server, expected_type):%0A    config = IrcConfig(%0A        server=server,%0A        nickname='nick',%0A        realname='Nick',%0A        channels=set(),%0A    )%0A%0A    bot = create_bot(config)%0A%0A    assert type(bot) == expected_type%0A

Test `create_bot`