Skip to content

Commit

Permalink
updating to path to write_local_test.py file in the bash file run_wri…
Browse files Browse the repository at this point in the history
…te_local_test.sh
  • Loading branch information
Mazztok45 committed Feb 21, 2024
1 parent faba3c6 commit 04bebec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion support/run_write_local_test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

python src/zbmath_rest2oai/write_local_test.py 2 https://api.zbmath.org/v1/software/_search?search_string=si%3A /home/maxence/myvenv/python-zbMathRest2Oai/test/data/software/plain.xml
python support/write_local_test.py 2 https://api.zbmath.org/v1/software/_search?search_string=si%3A /home/maxence/myvenv/python-zbMathRest2Oai/test/data/software/plain.xml
2 changes: 1 addition & 1 deletion support/write_local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
if __name__ == '__main__':
with open(sys.argv[3], 'w') as f:

f.write(xml_string)
f.write(xml_string)
2 changes: 2 additions & 0 deletions test/data/software/plain.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
<execution>successful request</execution>
<execution_bool>True</execution_bool>
<internal_code>ok</internal_code>
<query_execution_time_in_seconds>0</query_execution_time_in_seconds>
<status_code>200</status_code>
<time_stamp>0</time_stamp>
</status>
</root>

0 comments on commit 04bebec

Please sign in to comment.