コード例 #1
0
ファイル: test_commands.py プロジェクト: yougov/pmxbot
	def test_qbiu_blank(self):
		"""
		Test the qbiu function with a specified person.
		"""
		res = commands.bitchingisuseless('testrunner', '')
		print(res)
		assert res == ("Quiet bitching is useless, foo'. Do something about it.")
コード例 #2
0
ファイル: test_commands.py プロジェクト: calamnet/pmxbot
	def test_qbiu_blank(self):
		"""
		Test the qbiu function with a specified person.
		"""
		res = commands.bitchingisuseless('testrunner', '')
		print(res)
		assert res == ("Quiet bitching is useless, foo'. Do something about it.")
コード例 #3
0
ファイル: test_commands.py プロジェクト: yougov/pmxbot
	def test_qbiu_person(self):
		"""
		Test the qbiu function with a specified person.
		"""
		bitcher = "all y'all"
		res = commands.bitchingisuseless('testrunner', bitcher)
		print(res)
		assert res == ("Quiet bitching is useless, all y'all. Do something about it.")
コード例 #4
0
ファイル: test_commands.py プロジェクト: calamnet/pmxbot
	def test_qbiu_person(self):
		"""
		Test the qbiu function with a specified person.
		"""
		bitcher = "all y'all"
		res = commands.bitchingisuseless('testrunner', bitcher)
		print(res)
		assert res == ("Quiet bitching is useless, all y'all. Do something about it.")