@@ -1,15 +1,15 @@
|
||||
import json
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import pathlib
|
||||
import shutil
|
||||
import subprocess
|
||||
import tempfile
|
||||
import tarfile
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
ROOT = pathlib.Path(__file__).resolve().parents[1]
|
||||
MOCK = '''#!/usr/bin/env python3
|
||||
import json, os, sys
|
||||
from pathlib import Path
|
||||
@@ -50,7 +50,7 @@ class InstallZeroTests(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.temporary = tempfile.TemporaryDirectory()
|
||||
self.addCleanup(self.temporary.cleanup)
|
||||
self.root = Path(self.temporary.name)
|
||||
self.root = pathlib.Path(self.temporary.name)
|
||||
self.bundle = self.root / 'bundle'
|
||||
self.zero = self.bundle / 'zero'
|
||||
self.zero.mkdir(parents=True)
|
||||
|
||||
Reference in New Issue
Block a user