#!/usr/bin/env python
# -*- coding: utf-8 -*-
pass
from typing import Any

import pytest

from src.eSaver_Data_App import App_Data

app_data = App_Data


# %% ===

pass

pass
pass

pass

def test_strName():
    '''strName lesen und schreiben prüfen
    '''
    strName_app = app_data.strName

    strNewVersionName = "eSaver_Ausw_Erspar_v1.02.2"
    app_data.strName = strNewVersionName

    result = app_data.strName

    assert result == strNewVersionName

    assert result != strName_app

    return


def test_strInit_SheetName():
    '''strName lesen und schreiben prüfen
    '''
    strInit_SheetName_app = app_data.strInit_SheetName


    strInit_SheetName_new = "Export-VIDA Main GMarder"
    app_data.strName = strInit_SheetName_new

    result = app_data.strName

    assert result == strInit_SheetName_new

    assert result != strInit_SheetName_app



# %%
# EOF
