diff options
Diffstat (limited to 'tests/testutils/repo/git.py')
-rw-r--r-- | tests/testutils/repo/git.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/testutils/repo/git.py b/tests/testutils/repo/git.py index 1deca3ff7..f8af28e33 100644 --- a/tests/testutils/repo/git.py +++ b/tests/testutils/repo/git.py @@ -107,3 +107,20 @@ class Git(Repo): def rev_parse(self, rev): return self._run_git("rev-parse", rev, stdout=subprocess.PIPE, universal_newlines=True,).stdout.strip() + + def get_element_and_keys_for_cache_key_stability_test(self): + return [ + ( + { + "kind": "import", + "sources": [ + { + "kind": "git", + "url": "https://example.com/git/repo.git", + "ref": "6ac68af3e80b7b17c23a3c65233043550a7fa685" + } + ] + }, + "4e21bc1089066998d44933fdf1e48b2a5a73ceaba7a3944538f3f142e34b8b8e" + ) + ] |