Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/z/t/ztpserver-HEAD/test/server/test_repository.py   ztpserver(Download)
 
from server_test_lib import random_string, remove_all
from server_test_lib import add_folder, write_file
 
class FileObjectTests(unittest.TestCase):
    def setUp(self):
        self.filepath = add_folder('filestore')
        assert os.path.exists(self.filepath)
 
        self.filestore = FileStore(self.filepath)