updater/test/conftest.py

13 lines
355 B
Python
Raw Permalink Normal View History

2022-02-18 18:17:59 +01:00
import pytest
import json
update_data= dict(current_version="1.1", description="Snapshot version.", downloads=dict(Windows32="https://google.com_32", Windows64="https://google.com_64"))
@pytest.fixture
def file_data():
global update_data
yield json.dumps(update_data)
@pytest.fixture
def json_data():
global update_data
yield update_data