Searched refs:file1_path (Results 1 – 7 of 7) sorted by relevance
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_httpservers.py | 479 self.file1_path = os.path.join(self.cgi_dir, 'file1.py') 480 with open(self.file1_path, 'w') as file1: 482 os.chmod(self.file1_path, 0777) 508 os.remove(self.file1_path)
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_tabnanny.py | 181 with file1 as file1_path, file2 as file2_path: 182 for file_path in (file1_path, file2_path):
|
D | test_httpservers.py | 721 self.file1_path = None 750 self.file1_path = os.path.join(self.cgi_dir, 'file1.py') 751 with open(self.file1_path, 'w', encoding='utf-8') as file1: 753 os.chmod(self.file1_path, 0o777) 789 if self.file1_path: 790 os.remove(self.file1_path)
|
/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_test.py | 1793 file1_path = "test_file1" 1795 self.fs.create_file(file1_path, st_size=20) 1798 self.os.link(file1_path, file2_path) 1802 self.os.unlink(file1_path) 1999 file1_path = self.make_path("test_file1") 2002 self.filesystem.create_file(file1_path, contents="link test") 2003 self.assertEqual(self.os.stat(file1_path).st_nlink, 1) 2004 self.filesystem.create_link(file1_path, link_path) 2005 self.assertEqual(self.os.stat(file1_path).st_nlink, 2) 2010 file1_path = self.make_path("test_file1") [all …]
|
D | fake_os_test.py | 2593 file1_path = self.make_path("test_file1") 2597 self.create_file(file1_path, contents=contents1) 2599 self.os.link(file1_path, file2_path) 2601 self.os.unlink(file1_path) 2610 file1_path = self.make_path("test_file1") 2615 self.create_file(file1_path, contents=contents1) 2616 self.os.link(file1_path, file2_path) 2621 with self.open(file1_path, "w") as f: 2629 file1_path = self.make_path("test_file1") 2633 self.create_file(file1_path, contents=contents1) [all …]
|
D | fake_pathlib_test.py | 948 file1_path = self.make_path("test_file1") 950 self.create_file(file1_path) 951 self.os.link(self.path(file1_path), file2_path) 954 self.os.link(self.path(file1_path), self.path(file2_path)) 957 self.os.link(file1_path, self.path(file2_path))
|
/aosp_15_r20/bootable/deprecated-ota/tests/unit/ |
H A D | applypatch_test.cpp | 241 std::string file1_path = mock_cache.path + "/file1"s; in TEST_F() local 242 android::base::unique_fd fd(open(file1_path.c_str(), O_RDONLY)); in TEST_F()
|