Closed prasadtiru closed 4 years ago
Please review the test.py which deploys a simulation and tests the python UnetSocket API.
test.py
NOTE: Since unetpy has a dependency on fjagepy. The tests assume that the fjagepy is installed and tests the unetpy development.
unetpy
fjagepy
> make [ -d test/unet ] || (mkdir -p test/unet ; curl -o test/unet/unet-community-3.1.0.tgz https://unetstack.net/downloads/unet-community-3.1.0.tgz ; cd test/unet && tar xvzf unet-community-3.1.0.tgz) python test/test.py Starting 2-node simulation... Starting tests... Test agents .Test bind and connect .Test cancel .Test communication .Test gateway .Test unet socket .Test timeout . ---------------------------------------------------------------------- Ran 7 tests in 6.224s OK Stopping 2-node simulation... Simulation interrupted!
Please review the
test.py
which deploys a simulation and tests the python UnetSocket API.NOTE: Since
unetpy
has a dependency onfjagepy
. The tests assume that thefjagepy
is installed and tests theunetpy
development.