コード例 #1
0
 def setUp(self):
     super(ApiListArtifactsHandlerTest, self).setUp()
     self.handler = artifact_plugin.ApiListArtifactsHandler()
     self.context = api_call_context.ApiCallContext("test")
コード例 #2
0
ファイル: artifact_test.py プロジェクト: thetraker/grr
 def setUp(self):
     super(ApiListArtifactsHandlerTest, self).setUp()
     self.handler = artifact_plugin.ApiListArtifactsHandler()
コード例 #3
0
 def ListArtifacts(self, args, context=None):
     return api_artifact.ApiListArtifactsHandler()
コード例 #4
0
 def ListArtifacts(self, args, token=None):
     return api_artifact.ApiListArtifactsHandler()