| OLD | NEW |
| (Empty) |
| 1 # Copyright 2013 The LUCI Authors. All rights reserved. | |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | |
| 3 # that can be found in the LICENSE file. | |
| 4 | |
| 5 from recipe_engine.recipe_api import Property | |
| 6 | |
| 7 DEPS = [ | |
| 8 'properties', | |
| 9 'step', | |
| 10 ] | |
| 11 | |
| 12 PROPERTIES = { | |
| 13 'command': Property(default=None), | |
| 14 } | |
| 15 | |
| 16 def RunSteps(api, command): | |
| 17 api.step( | |
| 18 'trigger some junk', | |
| 19 cmd=command, | |
| 20 trigger_specs=[{ | |
| 21 'builder_name': 'triggered', | |
| 22 'buildbot_changes': [{ | |
| 23 'when_timestamp': 1445412480, | |
| 24 }], | |
| 25 }]) | |
| 26 | |
| 27 def GenTests(api): | |
| 28 yield api.test('basic') | |
| OLD | NEW |