From 71008bbedb7e9b0afb16ebaa1f39eb91aadcb48a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Schoentgen?= Date: Wed, 1 Sep 2021 16:56:23 +0200 Subject: [PATCH] Move example URL in a global variable for XML tests --- tests/test_xml.py | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/tests/test_xml.py b/tests/test_xml.py index a956d7f5..7c352219 100644 --- a/tests/test_xml.py +++ b/tests/test_xml.py @@ -7,7 +7,7 @@ from httpie.constants import UTF8 from httpie.output.formatters.xml import parse_xml, pretty_xml from .fixtures import XML_FILES_PATH, XML_FILES_VALID, XML_FILES_INVALID -from .utils import http +from .utils import http, URL_EXAMPLE SAMPLE_XML_DATA = 'text' @@ -22,11 +22,10 @@ SAMPLE_XML_DATA = 'text