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)
예제 #2
0
    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)
예제 #3
0
 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)