Skip to content

Commit

Permalink
restore newer hashes for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharma-bdai committed Aug 12, 2023
1 parent 20a54e2 commit 357101e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions tests/test_api.py
Expand Up @@ -401,7 +401,7 @@ def it_should_handle_updated_sparse_paths(config):
sparse_paths:
- gdm/*
- Makefile
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
Expand All @@ -428,14 +428,15 @@ def it_should_handle_updated_sparse_paths(config):
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
- docs/*
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
-
"""
)
config.datafile.load()

expect(gitman.install(depth=1)) == True
dir_listing = os.listdir(os.path.join(config.location, "gitman_1"))
expect(dir_listing).contains("docs")
Expand All @@ -452,7 +453,7 @@ def it_should_handle_new_sparse_paths(config):
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
Expand All @@ -479,14 +480,15 @@ def it_should_handle_new_sparse_paths(config):
- gdm/*
- docs/*
- Makefile
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
-
"""
)
config.datafile.load()

expect(gitman.install(depth=1)) == True
dir_listing = os.listdir(os.path.join(config.location, "gitman_1"))
expect(dir_listing).contains("docs")
Expand All @@ -507,7 +509,7 @@ def it_should_handle_removed_sparse_paths(config):
- gdm/*
- docs/*
- Makefile
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
Expand Down Expand Up @@ -535,14 +537,15 @@ def it_should_handle_removed_sparse_paths(config):
repo: https://github.com/jacebrowning/gitman-demo
sparse_paths:
-
rev: ddbe17ef173538d1fda29bd99a14bab3c5d86e78
rev: 63ddfd82d308ddae72d31b61cb8942c898fa05b5
links:
-
scripts:
-
"""
)
config.datafile.load()

expect(gitman.install(depth=1)) == True
dir_listing = os.listdir(os.path.join(config.location, "gitman_1"))
expect(len(dir_listing) > 3)
Expand Down

0 comments on commit 357101e

Please sign in to comment.