blob: de1270ea42647d825f3d3da84578f3820a923425 [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
DEPS = [
'isolate',
'recipe_engine/properties',
]
def RunSteps(api):
api.isolate.check_swarm_hashes(['some_target', 'other_target'])
def GenTests(api):
yield (
api.test('matching') +
api.properties(swarm_hashes={'some_target': 'a'*40,
'other_target': 'b'*40,
'another_one': 'c'*40})
)
yield (
api.test('detected')
)
yield (
api.test('missing') +
api.properties(swarm_hashes={'some_target': 'a'*40,
'another_one': 'c'*40})
)