Lines Matching refs:folder
57 folder = self.get_dev_folder(socket)
58 print (folder)
59 assert os.path.isfile(folder + "guid") == True
60 assert os.path.isfile(folder + "provision_akc") == True
61 assert os.path.isfile(folder + "provision_cap") == True
62 assert os.path.isfile(folder + "state_certificate") == True
63 assert os.path.isfile(folder + "registers") == True
66 folder = self.get_dev_folder(socket)
67 mode = os.stat(folder + "guid").st_mode & 0o777
69 mode = os.stat(folder + "registers").st_mode & 0o777
71 mode = os.stat(folder + "provision_akc").st_mode & 0o777
73 mode = os.stat(folder + "provision_cap").st_mode & 0o777
75 mode = os.stat(folder + "state_certificate").st_mode & 0o777
79 folder = self.get_dev_folder(socket)
81 st = os.stat(folder + "guid")
85 st = os.stat(folder + "registers")
89 st = os.stat(folder + "provision_akc")
93 st = os.stat(folder + "provision_cap")
97 st = os.stat(folder + "state_certificate")
102 folder = self.get_dev_folder(socket)
104 if self.read_value(folder + "guid") == GUID:
105 st = os.stat(folder + "registers")
108 st = os.stat(folder + "provision_akc")
111 st = os.stat(folder + "provision_cap")
114 st = os.stat(folder + "state_certificate")
118 folder = self.get_dev_folder(socket)
121 f = open(folder + "provision_cap", "wb", 0)
128 f = open(folder + "provision_akc", "wb", 0)
136 folder = self.get_dev_folder(socket)
141 f = open(folder + "registers", "rb")