diff --git a/docs/source/conf.py b/docs/source/conf.py index 11b5efc..95fa737 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,7 +56,7 @@ author = 'Thor77' # The short X.Y version. version = '0.5' # The full version, including alpha/beta/rc tags. -release = '0.5.0' +release = '0.5.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index acb94b2..191b680 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name='tsstats', - version='0.5.0', + version='0.5.1', author='Thor77', author_email='thor77@thor77.org', description='A simple Teamspeak stats-generator', diff --git a/tsstats/tests/test_log.py b/tsstats/tests/test_log.py index 338f841..21f2774 100644 --- a/tsstats/tests/test_log.py +++ b/tsstats/tests/test_log.py @@ -1,7 +1,7 @@ import pytest from tsstats.exceptions import InvalidLog -from tsstats.log import parse_log +from tsstats.log import parse_log, parse_logs @pytest.fixture @@ -37,3 +37,8 @@ def test_log_pbans(clients): def test_log_invalid(): with pytest.raises(InvalidLog): parse_log('tsstats/tests/res/test.log.broken') + + +def test_log_multiple(): + assert len(parse_log('tsstats/tests/res/test.log')) == \ + len(parse_logs('tsstats/tests/res/test.log'))