OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 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 DEPS = [ |
| 6 'step', |
| 7 'url', |
| 8 ] |
| 9 |
| 10 |
| 11 def RunSteps(api): |
| 12 api.step('step1', |
| 13 ['/bin/echo', api.url.join('foo', 'bar', 'baz')]) |
| 14 api.step('step2', |
| 15 ['/bin/echo', api.url.join('foo/', '/bar/', '/baz')]) |
| 16 api.step('step3', |
| 17 ['/bin/echo', api.url.join('//foo/', '//bar//', '//baz//')]) |
| 18 api.step('step4', |
| 19 ['/bin/echo', api.url.join('//foo/bar//', '//baz//')]) |
| 20 |
| 21 |
| 22 def GenTests(api): |
| 23 yield api.test('basic') |
OLD | NEW |