def test_run_must_be_implemeted(): """Test that run raises NotImplementedError if not overriden.""" with pytest.raises(NotImplementedError): Receiver('not-implemented').run(None)