@@ -16,7 +16,7 @@ def test_oai_dc_format(test_client):
16
16
response = test_client .get ("/oai" , query_string = params )
17
17
assert response .status_code == 200
18
18
text = response .get_data (as_text = True )
19
- assert '<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http ://www.openarchives.org/OAI/2.0/oai_dc.xsd">' in text
19
+ assert '<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ https ://www.openarchives.org/OAI/2.0/oai_dc.xsd">' in text
20
20
assert '<dc:title>Gauge Fixing in the Maxwell Like Gravitational Theory in Minkowski Spacetime and in the Equivalent Lorentzian Spacetime</dc:title>' in text
21
21
assert '<dc:creator>Rodrigues Jr, Waldyr A.</dc:creator>' in text
22
22
assert '<dc:creator>da Rocha, Roldao</dc:creator>' in text
@@ -37,7 +37,7 @@ def test_arXivOld_format(test_client):
37
37
response = test_client .get ("/oai" , query_string = params )
38
38
assert response .status_code == 200
39
39
text = response .get_data (as_text = True )
40
- assert '<arXivOld xmlns="http://arxiv.org/OAI/arXivOld/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXivOld/ http ://arxiv.org/OAI/arXivOld.xsd">' in text
40
+ assert '<arXivOld xmlns="http://arxiv.org/OAI/arXivOld/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXivOld/ https ://oaipmh. arxiv.org/OAI/arXivOld.xsd">' in text
41
41
assert '<id>0806.4129</id>' in text
42
42
assert '<title>Gauge Fixing in the Maxwell Like Gravitational Theory in Minkowski Spacetime and in the Equivalent Lorentzian Spacetime</title>' in text
43
43
assert '<authors>Roldao da Rocha, Waldyr A. Rodrigues Jr</authors>' in text
@@ -55,7 +55,7 @@ def test_arXiv_format(test_client):
55
55
response = test_client .get ("/oai" , query_string = params )
56
56
assert response .status_code == 200
57
57
text = response .get_data (as_text = True )
58
- assert '<arXiv xmlns="http://arxiv.org/OAI/arXiv/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXiv/ http ://arxiv.org/OAI/arXiv.xsd">' in text
58
+ assert '<arXiv xmlns="http://arxiv.org/OAI/arXiv/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXiv/ https ://oaipmh. arxiv.org/OAI/arXiv.xsd">' in text
59
59
assert '<id>0806.4129</id>' in text
60
60
assert '<title>Gauge Fixing in the Maxwell Like Gravitational Theory in Minkowski Spacetime and in the Equivalent Lorentzian Spacetime</title>' in text
61
61
assert '<keyname>da Rocha</keyname>' in text
@@ -75,7 +75,7 @@ def test_arXivRaw_format(test_client):
75
75
response = test_client .get ("/oai" , query_string = params )
76
76
assert response .status_code == 200
77
77
text = response .get_data (as_text = True )
78
- assert '<arXivRaw xmlns="http://arxiv.org/OAI/arXivRaw/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXivRaw/ http ://arxiv.org/OAI/arXivRaw.xsd">' in text
78
+ assert '<arXivRaw xmlns="http://arxiv.org/OAI/arXivRaw/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://arxiv.org/OAI/arXivRaw/ https ://oaipmh. arxiv.org/OAI/arXivRaw.xsd">' in text
79
79
assert '<id>0806.4129</id>' in text
80
80
assert '<title>Gauge Fixing in the Maxwell Like Gravitational Theory in Minkowski Spacetime and in the Equivalent Lorentzian Spacetime</title>' in text
81
81
assert '<authors>Roldao da Rocha, Waldyr A. Rodrigues Jr</authors>' in text
0 commit comments