2017-09-16 16:31:15 -04:00
|
|
|
# -*- coding: utf-8 -*-
|
2017-04-28 17:24:31 -04:00
|
|
|
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
|