mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-05 10:05:00 -05:00
12 lines
271 B
Python
12 lines
271 B
Python
from pathlib import Path
|
|
from typing import List
|
|
|
|
from tests.block_tools import get_plot_dir
|
|
|
|
|
|
def get_test_plots(sub_dir: str = "") -> List[Path]:
|
|
path = get_plot_dir()
|
|
if sub_dir != "":
|
|
path = path / sub_dir
|
|
return list(sorted(path.glob("*.plot")))
|