Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)