def test_open_excel_file_not_xls(input_data): with pytest.raises(SystemExit): design2params._read_excel("parameters.txt", "DesignSheet01")
def test_open_excel_file_not_existing(input_data): with pytest.raises(SystemExit): design2params._read_excel("not_existing.xlsx", "DesignSheet01")