    def test_messages(self):
        '''Tests messages.yaml.'''
        with open(MESSAGE_CONFIG) as f:
            config = yaml.safe_load(f)
            for name, string in config.items():
                assert type(string) is str, 'All messages must be strings.'
Tests messages.yaml.
tests/bot_test.py