def test_sets_relation_with_relation_id(self, check_call_, check_output,
local_unit):
hookenv.relation_set(relation_id="foo", bar="baz")
check_call_.assert_called_with(['relation-set', '-r', 'foo',
'bar=baz'])
文章目录