bsv init command.
This commit is contained in:
@@ -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",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user