oxen-storage-server/network-tests
2021-06-21 18:37:56 -03:00
..
pyoxenmq@959df9c5dd network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
conftest.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
pytest.ini network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
README.md network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
ss.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
test_deletes.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
test_expire.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
test_session_auth.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00
test_store_retrieve.py network-tests: Add readme; rename to network-tests 2021-06-21 18:37:56 -03:00

Storage server testnet test suite

This directory contains a Python/pytest-based test repository to perform tests against the live Oxen testnet.

Usage:

  • install the pyoxenmq Python module from the pyoxenmq submodule. You can do this locally via python3 setup.py build and then symlink the .so into the storage server tests/ directory (the file and directory names in this example are Python version and system dependent):

    ln -s pyoxenmq/build/lib.linux-x86_64-3.9/pyoxenmq.cpython-39-x86_64-linux-gnu.so .

    Alternatively, rather than symlinking, simply install as a user with:

    python3 setup.py install --user

  • Run py.test-3 to run the test suite. (You likely need to install python3-pytest and python3-nacl, if not already installed).