printing_unittest.py | 80 def test_switches(args, expected_switches_str, function in function:TestUtilityFunctions.test_parse_print_options 95 test_switches([], printing.PRINT_DEFAULT) 98 test_switches([], printing.PRINT_EVERYTHING, verbose=True) 101 test_switches(['--print', 'default'], printing.PRINT_DEFAULT) 104 test_switches(['--print', 'nothing'], None) 107 test_switches(['--print', 'everything'], printing.PRINT_EVERYTHING) 110 test_switches(['--print', 'actual'], 'actual', verbose=True)
|