Skip to content

Steem Proposal System support testing

Dariusz Kędzierski edited this page Mar 11, 2019 · 5 revisions

Tests for Steem Proposal System support has been added to the tests/steem subdirectory in file test_proposals.py.

These test have to be run in sequence. In order to run those tests first one need to set some environment variables. These variables are as follow:

export STEEM_TEST_NODE="http://127.0.0.1:8090"
export STEEM_TEST_WIF="proposal-creator-wif"
export STEEM_TEST_ACCOUNT="proposal-creator-account"

After setting env variables one have to call:

py.test-3 -m "serial"

One can call test_proposals.py directly by using:

pytest-3 tests/steem/test_proposals.py -vv

Original tests can be executed with:

py.test-3 -m "not serial"

Calling python3 setup.py test will most likely fail on testing SPS system due to running not in sequence.

Clone this wiki locally