コード例 #1
0
ファイル: test_commands.py プロジェクト: yougov/pmxbot
	def test_help_specific(self):
		lines = system.help(rest='help')
		result = ''.join(lines)
		assert 'help' in result
		assert result == '!help: Help (this command)'
コード例 #2
0
ファイル: test_commands.py プロジェクト: yougov/pmxbot
	def test_help(self):
		help = system.help(rest='')
		result = ''.join(help)
		assert 'help' in result
コード例 #3
0
ファイル: test_commands.py プロジェクト: calamnet/pmxbot
	def test_help_specific(self):
		lines = system.help(rest='help')
		result = ''.join(lines)
		assert 'help' in result
		assert result == '!help: Help (this command)'
コード例 #4
0
ファイル: test_commands.py プロジェクト: jamwt/diesel-pmxbot
	def test_help_specific(self):
		help = system.help(c, e, '#test', 'testrunner', 'help')
		result = ''.join(help)
		assert 'help' in result
コード例 #5
0
ファイル: test_commands.py プロジェクト: calamnet/pmxbot
	def test_help(self):
		help = system.help(rest='')
		result = ''.join(help)
		assert 'help' in result