diff --git a/README.md b/README.md index b97fc8775ba334c03c5c0a42238e9f396301e6b3..109285abd91898b810b9f7b95104358af9e12537 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,12 @@ After installation of the package run (within the project folder): pytest ``` +There is the file `unittests/records.xml` that servers as a dummy for a server state with files. +You can recreate this by uncommenting a section in `integrationtests/basic_example/test_basic.py` +and rerunning the integration test. + ## Integration Tests + see `integrationtests/README.md` # Contributers diff --git a/integrationtests/basic_example/test_basic.py b/integrationtests/basic_example/test_basic.py index 4b8ec8f7204c4e7ab71edf1590b1d6af52816627..a4261cd92fec32b757f3abd210881d49e6a5e381 100755 --- a/integrationtests/basic_example/test_basic.py +++ b/integrationtests/basic_example/test_basic.py @@ -114,8 +114,8 @@ def test_single_insertion(clear_database, usemodel, crawler, ident): for i in reversed(range(len(res))): if res[i].parents[0].name == "PyTestInfo": del res[i] - filename = rfp("..", "..", "unittests", "records.xml") - # TODO can we remove this? why should we overwrite the current xml + # uncomment this to recreate the `records.xml` file + # filename = rfp("..", "..", "unittests", "records.xml") # with open(filename, "w") as f: # xml = res.to_xml() # # Remove noscript and transaction benchmark: diff --git a/src/doc/converters.rst b/src/doc/converters.rst index 610689fed78a629ad16400ca5830c508e0fbaac2..1839d59dc6cffb46740d90296c439e3986882ca6 100644 --- a/src/doc/converters.rst +++ b/src/doc/converters.rst @@ -69,7 +69,7 @@ directory name using the 'match' key. Simple File Converter ===================== The Simple File Converter does not create any children and is usually used if -A file shall be used as it is and be inserted and referenced by other entities. +a file shall be used as it is and be inserted and referenced by other entities. Markdown File Converter =======================