use defined output_path in tsstats.tests.test_template.output-fixture and sort imports
This commit is contained in:
parent
95c516a9f3
commit
123370554a
|
@ -56,7 +56,7 @@ author = 'Thor77'
|
|||
# The short X.Y version.
|
||||
version = '0.7'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '0.7.0'
|
||||
release = '0.7.1'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import setup
|
|||
|
||||
setup(
|
||||
name='tsstats',
|
||||
version='0.7.0',
|
||||
version='0.7.1',
|
||||
author='Thor77',
|
||||
author_email='thor77@thor77.org',
|
||||
description='A simple Teamspeak stats-generator',
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import logging
|
||||
from datetime import timedelta
|
||||
from os import remove
|
||||
|
||||
import pytest
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
from datetime import timedelta
|
||||
from tsstats.log import parse_log
|
||||
from tsstats.template import render_template
|
||||
from tsstats.utils import seconds_to_text
|
||||
|
@ -18,7 +18,7 @@ logger = logging.getLogger('tsstats')
|
|||
@pytest.fixture
|
||||
def output(request):
|
||||
def clean():
|
||||
remove('tsstats/tests/res/output.html')
|
||||
remove(output_path)
|
||||
request.addfinalizer(clean)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue