    def test_config(self):
        '''Tests bot.yaml.'''
        with open(MAIN_CONFIG) as f:
            config = yaml.safe_load(f)
            for path in [s + '_path' for s in ['messages', 'commands']]:
                assert path in config, 'No {0} provided'.format(path.replace('_', ' '))
                # Test that files exist
                assert os.path.isfile(config[path]), '{0} missing'.format(path.replace('_', ' '))
Tests bot.yaml.
tests/bot_test.py