Here are the examples of the python api scrapi.tasks.process_raw taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
Project: scrapi Source File: test_tasks.py
def test_process_raw_calls(raw_doc, monkeypatch):
pmock = mock.Mock()
monkeypatch.setattr('scrapi.tasks.processing.process_raw', pmock)
tasks.process_raw(raw_doc)
pmock.assert_called_once_with(raw_doc, {})