コード例 #1
0
ファイル: command_test.py プロジェクト: haydnKing/waistcoat
	def test_no_exists(self):
		"""Test that I know when a function doesn't exist"""
		self.assertFalse(command.isAvailable(self.should_not_have))
コード例 #2
0
ファイル: command_test.py プロジェクト: haydnKing/waistcoat
	def test_exists(self):
		"""Test that I know when a function exists"""
		self.assertTrue(command.isAvailable(self.should_have))