Example #1
0
		def test_sys_file_exists_missing_file(self):
			"""Test for existence of a file that does not exist"""
			self.assertEqual(False, system.file_exists(self.bogusfilepath))
Example #2
0
		def test_sys_file_exists(self):
			"""Test for existence of a file that exists"""
			filepath = make_path("testfiles", "testdir", "systest.txt")
			self.assertEqual(True, system.file_exists(filepath))