def test_client_request_headers(self):
        class MyLocust(HttpLocust):
            host = "http://127.0.0.1:%i" % self.port

        locust = MyLocust()
        self.assertEqual("hello", locust.client.get("/request_header_test", headers={"X-Header-Test":"hello"}).content)
dataset/ETHPy150Open locustio/locust/locust/test/test_locust_class.py/TestWebLocustClass.test_client_request_headers/original