https://pantsbuild.org/ logo
#general
Title
# general
p

polite-garden-50641

07/07/2020, 11:17 PM
For a rule unit test, if the rule returns a digest, how do I "unwrap" the digest in unit test to see it has the expected content (file name + content) ?
h

hundreds-father-404

07/07/2020, 11:18 PM
you convert it into a Snapshot and/or FilesContent, like
self.request_single_product(Snapshot, my_digest)
👍 1
5 Views