summaryrefslogtreecommitdiff
path: root/tests/sourcecache/cache.py
Commit message (Collapse)AuthorAgeFilesLines
* Reformat code using BlackChandan Singh2019-11-141-27/+26
| | | | | | | As discussed over the mailing list, reformat code using Black. This is a one-off change to reformat all our codebase. Moving forward, we shouldn't expect such blanket reformats. Rather, we expect each change to already comply with the Black formatting style.
* tests: Change all calls to _yaml.dump to _yaml.rountrip_dumpBenjamin Schubert2019-07-151-1/+1
| | | | | Now that both are equivalent, we can skip the sanitization part before the yaml call.
* Source cache uses new proto methodsRaoul Hidalgo Charman2019-07-081-10/+10
| | | | | | | | | This changes the location of source refs from `cache/cas/refs` to `cache/sources_protos` and fixes tests that looked in the old reference place. Source cache now uses the new protocol buffer and grpc methods defined, for storing locally, and pushing and pulling to remotes. Part of #1038
* Add tests for BST_REQUIRES_PREVIOUS_SOURCES_STAGERaoul Hidalgo Charman2019-05-141-0/+123
Tests that sources are cached seperately where appropriate. Part of #982