def setUp(self) -> None: self.tmp_dir = Path(self.make_temporary_directory()) snapshot = snapshot_mod.unpack_into(self.get_snapshot_path(), self.tmp_dir) self.snapshot = typing.cast(BasicSnapshot, snapshot)
def setUp(self) -> None: snapshot_path = Path("eden/test-data/snapshots/basic-20181121.tar.xz") self.tmp_dir = Path(self.make_temporary_directory()) snapshot = snapshot_mod.unpack_into(snapshot_path, self.tmp_dir) self.snapshot = typing.cast(BasicSnapshot, snapshot)