def test_reject_extractor_post_with_wrong_password(self, testapp):
        Extractor.create(username='extractor', email='extractor@example.com', password="password")
        testapp.authorization = ('Basic', ('extractor', 'drowssap'))
        response = testapp.post("/data/heartbeat", expect_errors=True)
        assert response.status_code == 401
        assert response.text == 'Extractor authorization failed!'
Add the paths of all python projects to the virtualenv
dataset/ETHPy150Open codeforamerica/comport/tests/test_extractor_api.py/TestHeartbeat.test_reject_extractor_post_with_wrong_password--crossover with--dataset/ETHPy150Open aldebaran/qibuild/python/qipy/venv.py/handle_pure_python