File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 131
131
{% if record.current_meta.report_num %}
132
132
<report-no >{{ record.current_meta.report_num }}</report-no >
133
133
{% endif %}
134
- {% if record.current_meta.msc_class %}
135
- <msc-class >{{ record.current_meta.msc_class }}</msc-class >
136
- {% endif %}
137
134
{% if record.current_meta.acm_class %}
138
135
<acm-class >{{ record.current_meta.msc_class }}</acm-class >
139
136
{% endif %}
137
+ {% if record.current_meta.msc_class %}
138
+ <msc-class >{{ record.current_meta.msc_class }}</msc-class >
139
+ {% endif %}
140
140
{% if record.current_meta.journal_ref %}
141
141
<journal-ref >{{ record.current_meta.journal_ref }}</journal-ref >
142
142
{% endif %}
179
179
{% if record.current_meta.doi %}
180
180
<doi >{{record.current_meta.doi}}</doi >
181
181
{% endif %}
182
- {% if record.current_meta.license %}
183
- <license >{{record.current_meta.license}}</license >
184
- {% endif %}
185
182
{% if record.current_meta.abstract %}
186
183
<abstract >{{record.current_meta.abstract}}</abstract >
187
184
{% endif %}
185
+ {% if record.current_meta.license %}
186
+ <license >{{record.current_meta.license}}</license >
187
+ {% endif %}
188
188
</arXivOld >
189
189
{% endmacro %}
Original file line number Diff line number Diff line change 3
3
{% if token.empty %}
4
4
<resumptionToken />
5
5
{% else %}
6
- <resumptionToken expires =' {{token.expires.strftime("%Y-%m-%dT%H:%M:%SZ")}}' >{{token.token_str}}</resumptionToken >
6
+ <resumptionToken expirationDate =' {{token.expires.strftime("%Y-%m-%dT%H:%M:%SZ")}}' >{{token.token_str}}</resumptionToken >
7
7
{% endif %}
8
8
{% endmacro %}
Original file line number Diff line number Diff line change @@ -654,7 +654,7 @@ def test_final_resToken(test_client):
654
654
response = test_client .get ("/oai" , query_string = params )
655
655
assert response .status_code == 200
656
656
text = response .get_data (as_text = True )
657
- assert "<resumptionToken expires =" in text
657
+ assert "<resumptionToken expirationDate =" in text
658
658
token = __get_res_token (text )
659
659
assert len (token ) > 1
660
660
You can’t perform that action at this time.
0 commit comments