scraper.models.Event.objects.get.description

Here are the examples of the python api scraper.models.Event.objects.get.description taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

Example 1

View license
    @unittest.skip("Skipped due to unresolved problem that order of processor execution can not clearly determined.")
    def test_multiple_processors_use(self):
        self.setUpProcessorTest()
        self.se_desc.processors = 'pre_string, post_string '
        self.se_desc.proc_ctxt = "'pre_string': 'before_', 'post_string': '_after',"
        self.se_desc.save()
        
        self.run_event_spider(1)
        
        self.assertEqual(Event.objects.get(id=1).description, 'before_Event 2 description_after')