OLD | NEW |
1 # Copyright (C) 2009 Google Inc. All rights reserved. | 1 # Copyright (C) 2009 Google Inc. All rights reserved. |
2 # | 2 # |
3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
5 # met: | 5 # met: |
6 # | 6 # |
7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 options.component = 'MOCK component' | 43 options.component = 'MOCK component' |
44 options.confirm = True | 44 options.confirm = True |
45 options.email = 'MOCK email' | 45 options.email = 'MOCK email' |
46 options.git_commit = 'MOCK git commit' | 46 options.git_commit = 'MOCK git commit' |
47 options.obsolete_patches = True | 47 options.obsolete_patches = True |
48 options.open_bug = True | 48 options.open_bug = True |
49 options.port = 'MOCK port' | 49 options.port = 'MOCK port' |
50 options.update_changelogs = False | 50 options.update_changelogs = False |
51 options.quiet = True | 51 options.quiet = True |
52 options.reviewer = 'MOCK reviewer' | 52 options.reviewer = 'MOCK reviewer' |
53 command.bind_to_tool(tool) | |
54 OutputCapture().assert_outputs(self, command.execute, [options, args, to
ol], expected_stdout=expected_stdout, | 53 OutputCapture().assert_outputs(self, command.execute, [options, args, to
ol], expected_stdout=expected_stdout, |
55 expected_stderr=expected_stderr, expected
_exception=expected_exception, expected_logs=expected_logs) | 54 expected_stderr=expected_stderr, expected
_exception=expected_exception, expected_logs=expected_logs) |
OLD | NEW |