def test_headers(): token = "mytesttoken" handler = Handler(token) headers = handler._get_headers() assert "user-agent" in headers assert "accept" in headers assert "authorization" in headers
def test_headers(): token = 'mytesttoken' handler = Handler(token) headers = handler._get_headers() assert 'user-agent' in headers assert 'accept' in headers assert 'authorization' in headers