コード例 #1
0
ファイル: test_commands.py プロジェクト: jamwt/diesel-pmxbot
	def test_google(self):
		"""
		Basic google search for "pmxbot". Result must contain a link.
		"""
		res = commands.google(c, e, "#test", "testrunner", "pmxbot")
		print(res)
		assert "http" in res
コード例 #2
0
ファイル: test_commands.py プロジェクト: yougov/pmxbot
	def test_google(self, google_api_key):
		"""
		Basic google search for "pmxbot". Result must contain a link.
		"""
		res = commands.google("pmxbot")
		print(res)
		assert "http" in res
コード例 #3
0
ファイル: test_commands.py プロジェクト: calamnet/pmxbot
	def test_google(self, google_api_key):
		"""
		Basic google search for "pmxbot". Result must contain a link.
		"""
		res = commands.google("pmxbot")
		print(res)
		assert "http" in res