renamed the internal name of directory stores

This commit is contained in:
2019-04-19 14:30:07 +02:00
parent 8a32fbfb4d
commit 9ce1d4d33b
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ def bunker_and_password(tmpdir):
def test_add_directory_store(bunker_and_password):
bunker, password = bunker_and_password
ds = bunker.add_component("dir", "test.dir", password)
ds = bunker.add_component("ds", "test.ds", password)
assert isinstance(ds, DirectoryStore)
@@ -24,9 +24,9 @@ def bunker_ds_password_name(tmpdir):
password = b"H6ihKLXV8HMQWbJs"
bunker = Bunker.open(path)
ds = bunker.add_component("dir", "test.dir", password)
ds = bunker.add_component("ds", "test.ds", password)
return bunker, ds, password, "test.dir"
return bunker, ds, password, "test.ds"
@pytest.fixture
def file_contents():