bsv init command.

This commit is contained in:
2023-11-29 23:25:27 +01:00
parent 52a553d72b
commit d058cd0631
8 changed files with 429 additions and 151 deletions

View File

@@ -38,8 +38,9 @@ def tmp_dir():
@pytest.fixture
def repo(tmp_dir):
return create_repository(
tmp_dir / "bsv",
tmp_dir / "bsv.config",
"test_repo",
tmp_dir / "bsv_repo",
)
@@ -154,7 +155,7 @@ def test_add_tree(tmp_dir: Path, repo: Repository):
},
"Another test with long name and spaces and a bang !": b"Should works.\n",
"bsv_repo": {
"bsv_config.toml": b"[bsv]\n",
"bsv_repository.config": b"[bsv]\n",
},
}
structure1 = {
@@ -168,7 +169,7 @@ def test_add_tree(tmp_dir: Path, repo: Repository):
"new_file": b"whatever",
"Another test with long name and spaces and a bang !": b"Should works.\n",
"bsv_repo": {
"bsv_config.toml": b"[bsv]\n",
"bsv_repository.config": b"[bsv]\n",
},
}