예제 #1
0
	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
	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
	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
	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.")