def test_6(): lt_in = run_shell.get_lt_in('--no-specials', latex_6, 'utf-8') assert lt_in == lt_in_6
def test_2(options, lt_in_expected): lt_in = run_shell.get_lt_in(options, latex_2, 'utf-8') assert lt_in == lt_in_expected
def test_4(options, lt_in_expected): repl = test_dir + 'repls.txt' lt_in = run_shell.get_lt_in(options + ' --replace ' + repl, latex_4, 'utf-8') assert lt_in == lt_in_expected
def test_5(): # this will echo 'koma' and 'lang': # lt_in = run_shell.get_lt_in('--packages ""', latex_5, 'utf-8') lt_in = run_shell.get_lt_in('--packages "" --add-modules ' + test_dir + 'modules.tex', latex_5, 'utf-8') assert lt_in == lt_in_5
def test_4(): lt_in = run_shell.get_lt_in('--multi-language --ml-disable x,y', latex_4, 'utf-8') assert lt_in == lt_in_4
def test_3(): lt_in = run_shell.get_lt_in('--define ' + test_dir + 'defs.tex', latex_3, 'utf-8') assert lt_in == lt_in_3
def test_2(): lt_in = run_shell.get_lt_in('--multi-language', latex_2, 'utf-8') assert lt_in == lt_in_2
def test_3(): lt_in = run_shell.get_lt_in('--multi-language --ml-continue-threshold 0', latex_3, 'utf-8') assert lt_in == lt_in_3
def test_1(): lt_in = run_shell.get_lt_in('', latex_1, 'utf-8') assert lt_in == lt_in_1
def test_8(): lt_in = run_shell.get_lt_in( '--multi-language --lang en-GB --define ' + test_dir + 'defs.tex', latex_8, 'utf-8') assert lt_in == lt_in_8
def test_7(): lt_in = run_shell.get_lt_in('--multi-language --lang en-GB', latex_7, 'utf-8') assert lt_in == lt_in_7
def test_6(): lt_in = run_shell.get_lt_in('--multi-language --ml-disablecategories x,y', latex_6, 'utf-8') assert lt_in == lt_in_6
def test_5(): lt_in = run_shell.get_lt_in( '--multi-language --ml-disable x,y' + ' --ml-rule-threshold 0', latex_5, 'utf-8') assert lt_in == lt_in_5