예제 #1
0
 def setUpClass(cls):
     soap = WokmwsSoapClient()
     query = 'climate change'
     qobj, _ = Query.objects.get_or_create(query__iexact=query,
                                           defaults={'query': query})
     result = fetch.search_soap(soap, qobj, 5)
     cls.records = fetch.extract_data(None, result)
예제 #2
0
 def setUpClass(cls):
     soap = WokmwsSoapClient()
     query='climate change'
     qobj, _ = Query.objects.get_or_create(query__iexact=query, defaults={'query':query})
     result = fetch.search_soap(soap, qobj, 5)
     cls.records = fetch.extract_data(None, result)
예제 #3
0
 def setUpClass(cls):
     soap = WokmwsSoapClient()
     query = 'solar flare'
     qobj, _ = Query.objects.get_or_create(query__iexact=query,
                                           defaults={'query': query})
     cls.result = fetch.search_soap(soap, qobj, 5)
예제 #4
0
 def setUpClass(cls):
     soap = WokmwsSoapClient()
     query='solar flare'
     qobj, _ = Query.objects.get_or_create(query__iexact=query, defaults={'query':query})
     cls.result = fetch.search_soap(soap, qobj, 5)