def test_reject_nonexistent_extractor_post(self, testapp):
        testapp.authorization = ('Basic', ('extractor', 'nonexistent'))
        response = testapp.post("/data/heartbeat", expect_errors=True)
        assert response.status_code == 401
        assert response.text == 'No extractor with that username!'
Connect e-mail callbacks to signals.
dataset/ETHPy150Open codeforamerica/comport/tests/test_extractor_api.py/TestHeartbeat.test_reject_nonexistent_extractor_post--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/notifications/email.py/connect_signals