Random Number Generator (RNG)
Other Documentation
NFT marketplace in Python
Describing here the steps to verify the Marketplace_python on local or server machine.
Machine configuration : Local or server machine.

Step 1: Clone Marketplace_python binaries on machine

Project Url :
1
https://gitlab.com/PBSA/PeerplaysIO/tools-libs/python-peerplays/-/tree/nft
Copied!

Clone binaries on Machine:

1
git clone https://gitlab.com/PBSA/PeerplaysIO/tools-libs/python-peerplays.git
Copied!

Step: 2 Install virtual env on machine

Go to project:

1
cd python-peerplays
Copied!

Run:

1
virtualenv -p python3 env
Copied!

Step: 3 Install python requirements

Run:
1
source env/bin/activate
Copied!
And then:
1
pip3 install -r requirements.txt
Copied!
then:
1
pip3 install -r requirements-test.txt
Copied!
Step: 4 Run unit tests
Run:
1
python -m unittest tests/test_market_place.py
Copied!
Expected result should be as below:
1
(env) [email protected]:~/python-peerplays$ python -m unittest tests/test_market_place.py
2
Not broadcasting anything!
3
Not broadcasting anything!
4
create_off Success!
5
Not broadcasting anything!
6
create_bid Success!
7
Not broadcasting anything!
8
cancel_offer Success!
9
All tests successful!
10
.
11
----------------------------------------------------------------------
12
Ran 1 test in 2.270s
13
OK
14
(env) [email protected]:~/python-peerplays$
Copied!
Export as PDF
Copy link
Contents