コード例 #1
0
ファイル: test_SYSTEM_c.py プロジェクト: chrisidefix/naked
		def test_sys_is_file_missing_file(self):
			"""Test that a path is not a file when it is not a file"""
			self.assertEqual(False, system.is_file(self.bogusfilepath))
コード例 #2
0
ファイル: test_SYSTEM_c.py プロジェクト: chrisidefix/naked
		def test_sys_is_file_when_dir(self):
			"""Test that a path is not a file when it is a directory"""
			self.assertEqual(False, system.is_file(self.sysdirpath))
コード例 #3
0
ファイル: test_SYSTEM_c.py プロジェクト: chrisidefix/naked
		def test_syst_is_file(self):
			"""Test that a path is a file when it is a file"""
			self.assertEqual(True, system.is_file(self.sysfilepath))