1
0
Fork 0
mirror of https://github.com/Thor77/TeamspeakStats.git synced 2025-05-01 09:45:32 -04:00
TeamspeakStats/tsstats/tests/conftest.py
2017-09-16 22:31:15 +02:00

14 lines
250 B
Python

# -*- coding: utf-8 -*-
from os import remove
import pytest
@pytest.fixture
def output(request):
output_path = 'tsstats/tests/res/output.html'
def clean():
remove(output_path)
request.addfinalizer(clean)
yield output_path