summaryrefslogtreecommitdiffhomepage
path: root/tools/test-requires
AgeCommit message (Collapse)Author
2017-12-17travis: Introduce autopep8 testIWASE Yusuke
This patch add a new test using "autopep8" to keep codes reformatted easily by using Python tool. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-12-17pycodestyle: Replace pep8IWASE Yusuke
pep8 has been renamed to pycodestyle and will be removed in a future release. This patch replaces pep8 by pycodestyle and adding some settings for pycodestyle. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-11-15pip: Separate test-requiresIWASE Yusuke
Currently, in addition to "requirements for tests", test-requires includes "optional requirements". This makes it unclear to identify which packages are surely required to use optional features (e.g., OF-Config, NETCONF, BGP speaker) and causes the redundant installation when building Docker images. This patch separates test-requires into two files("test requirements" and "optional requirements"). Also, this patch reverts the version fixation for some packages. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-11-11pip: Move tinyrpc to pip-requiresIWASE Yusuke
Because the embedded tinyrpc was removed, tinyrpc is required to be install for running Ryu application. This patch moves tinyrpc from test-requires to pip-requires. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-11-04contrib/ncclient: Remove embedded ncclient, use upstreamIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-10-04use old cryptography versionFUJITA Tomonori
Looks like that the latest version (1.5.2) doesn't work: https://s3.amazonaws.com/archive.travis-ci.org/jobs/164527154/log.txt Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-01test-requires: Update to use the latest PylintIWASE Yusuke
Current specified Pylint(==0.25.0) are not enough to support Python 3. This patch updates test-requires to use the latest one. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-06-01test-requires: Add tinyrpc for RPC controller in wsgiIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-10tox: Adapt to PyPy interpreterIWASE Yusuke
Note: Though tests may not be enough, as far as running unit test, this patch makes compatible with PyPy interpreter. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-06-25python3: Use formencode instead of xml_compareIWAMOTO Toshihiro
The last release of xml_compare is 7 years ago and doesn't support python3. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-03-17requirements: Drop some optional requirementsYAMAMOTO Takashi
Move some non pure python requirements (namely lxml and paramiko) from pip-requires to test-requires. Document it in README.rst. Motivations: - Make this pip-installable with pypy - Less distribution package requirements (deb/rpm/etc) in case a user do not actually need the functionality Note: while paramiko itself is pure python, it requires pycrypto. Note: msgpack has pure python fallback implementation. Separating ryu into smaller packages would be a better alternative. However, it would involve a lot more work than this workaround. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-01-09tests: add some tests for ryu.lib.of_config.classesYAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-11-27unit test: test ryu.cmd.managerYAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-05-13update requirementsYAMAMOTO Takashi
netaddr is used by: ryu/app/tunnel_port_updater.py ryu/lib/packet/vrrp.py Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-05-11Revert "add eventlet to test requirement"FUJITA Tomonori
This reverts commit e93a3f2d99133422e51fbd531dd58052e8e261a3. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-05-02add eventlet to test requirementFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-10-12test: add unittests for packet libraryHIYAMA Manabu
Signed-off-by: HIYAMA Manabu <hiyama.manabu@po.ntts.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-08-22test: use the latest version of pep8FUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-06-27test: improve the frameworkFUJITA Tomonori
run_test.sh: * run pylint on virtualenv to enforce version 0.25.0 for now. (because pylint 0.25.1 doesn't work due to a bug) * output pep8.log for Jenkins integration. pylint: * disable some noisy messages. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2012-05-07Added test framework, ported from QuantumFUJITA Tomonori
* Added test result format for Jenkins * Added some test code for ryu/ofproto/ Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>