def test_check_system_name2(): """ Forced string input but is integer """ with pytest.raises(AssertionError) as err_info: PyDampCheck.check_system_name(system_fail_2) assert str(err_info.value) == 'Input file requires character input'
def test_check_system_name3(): """ Empty Input """ with pytest.raises(AssertionError) as err_info: PyDampCheck.check_system_name(system_fail_3) assert str(err_info.value) == 'Input file requires system name'
def test_check_system_name1(): """ Non - String Input """ with pytest.raises(AssertionError) as err_info: PyDampCheck.check_system_name(system_fail_1) assert str(err_info.value) == 'Input file requires character input'