Hi,

I would like to study OVSDB protocol exchange between Ryu and ovsdb-server.
I see that there is a unit test script called "tests/unit/test_utils.py".
May aI know how to execute that?

I tried this from ryu docker image:

docker run -it --rm  -v --name ryu osrg/ryu
ryu-manager ryu/tests/unit/test_utils.py

And this is the error I got. Can someone help me how to get this going?

Thanks
-Vasu

root@79fb6fa44878:~/ryu# ryu-manager ryu/tests/unit/test_utils.py
loading app ryu/tests/unit/test_utils.py
Traceback (most recent call last):
  File "/usr/local/bin/ryu-manager", line 9, in <module>
    load_entry_point('ryu==4.31', 'console_scripts', 'ryu-manager')()
  File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line
98, in main
    app_mgr.load_apps(app_lists)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 415, in load_apps
    cls = self.load_app(app_cls_name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py",
line 392, in load_app
    mod = utils.import_module(name)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 99, in
import_module
    return _import_module_file(modname)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 88, in
_import_module_file
    return load_source(modname, abspath)
  File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 39, in
load_source
    return imp.load_source(name, pathname)
  File "/root/ryu/ryu/tests/unit/test_utils.py", line 19, in <module>
    from nose.tools import eq_
ImportError: No module named nose.tools

*Vasu Dasari*
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to