コード例 #1
0
ファイル: test_storage.py プロジェクト: CallAndGus/electrumsv
def test_database_store_requires_split(tmp_path) -> None:
    wallet_path = os.path.join(tmp_path, "database")
    db_store = DatabaseStore(wallet_path)
    try:
        assert not db_store.requires_split()
    finally:
        db_store.close()
コード例 #2
0
def test_database_store_requires_split() -> None:
    wallet_path = tempfile.mktemp()
    db_store = DatabaseStore(wallet_path)
    try:
        assert not db_store.requires_split()
    finally:
        db_store.close()