aboutsummaryrefslogtreecommitdiffstats
path: root/requirements.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Clean requirements.txtCédric Ollivier1-11/+5
It removes all requirements which are not detected by pipreqs [1] except: - robotframework-httplibrary - robotframework-requests==0.4.7 - robotframework-sshlibrary==2.1.3 They seem indirectly required for the next ODL suites: old_netvirt and fds. It also defines pbr as requirement and orders dnspython3 conditions. [1] https://github.com/bndr/pipreqs Change-Id: Idcd01296e5a5862ff8528dc083468b5c4905c9f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-12Update (test-)requirements.txtCédric Ollivier1-29/+23
It updates requirements.txt and test-requirements.txt according to OpenStack stable/ocata. It removes useless copyrights. Change-Id: I603b3030df231f210af47232f20aef85a08e20ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-07Leverage on pbr (Python Build Reasonableness)Cédric Ollivier1-5/+5
pbr can inject requirements into the install_requires, tests_require and/or dependency_links arguments to setup. They were previously falsy unset. It also supports conditional dependencies which can be added to the requirements (e.g. subprocess32; python_version=='2.7'). Then requirements.py3.txt is removed. It also removes functest/cli/setup.py which seems false and obsolete. Dockerfile is updated as well. One temporarily link is created because of several hardcoded paths in Functest. Change-Id: I14b3b25e07fbac490dd1d5ce943ec02c5b11f242 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-31Added unit tests for the connection_check test case.spisarski1-0/+1
JIRA: FUNCTEST-813 Change-Id: Ib851a3942e181b1a91cad695504613868a340d15 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-20Update requests as defined in relengCédric Ollivier1-1/+1
Change-Id: I808cb796d18cf7f193a37e7b7d9073a037bb2ae7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-20Add baro_tests as requirementsCédric Ollivier1-0/+1
It also stops cloning it when building the docker container and updates the related unit tests. It bypasses the bug when importing collectd [1]. [1] https://jira.opnfv.org/browse/BAROMETER-79 Change-Id: Ie9f8ea2b3c95d6b1f5405d76b018cdcb62343a58 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-20Install releng via requirements.txtCédric Ollivier1-0/+1
It should work in all branches if the right requirements.txt is selected. Change-Id: I9c46cd52496528835a92e371320debf92117b4fa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-17Clean test-requirements.txtCédric Ollivier1-1/+1
Now only the mandatory requirements related to unit testing are listed in test-requirements.txt. Change-Id: I2f17a9e18e90d779ddc80b1ace9ac770a76c3385 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-17Add Python3 support to the ODL testcaseCédric Ollivier1-0/+1
It also adds this support to its dependencies. Change-Id: I0534f0c7b0e15a9ee89f522f314cf5200874454c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-17Update/Add requirements to run ODL robot CSITJamo Luhrsen1-3/+5
It conforms test_odl.py with the new RobotFramework API too. It also updates test-requirements.txt as required by the current implementation of run_unit_tests.sh. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ibca0150a40d3b8a3f736be1e9dcbf9ce56af0299 Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-16Merge "Modify TestCase.__str__() to use PrettyTable"Jose Lausuch1-0/+1
2017-05-12Upgrade robotframework-sshlibrary to 2.1.3George Paraskevopoulos1-1/+1
Robotframework sshlibrary monkeypatches paramiko runtime and version 2.1.1 causes 2017-03-27 15:24:23,196 - SSH utils - ERROR - _custom_start_client() got an unexpected keyword argument 'timeout' errors in SFC test because of the issue https://github.com/robotframework/SSHLibrary/issues/158 This issue is resolved in version 2.1.3 Change-Id: I07f570c1a90f358b9f17aa6c959642d67e07a7e4 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
2017-05-11Modify TestCase.__str__() to use PrettyTableCédric Ollivier1-0/+1
It adds PrettyTable as requirement even if it's already defined in OpenStack client dependencies. If the TestCase object is considered as invalid, it simply returns the default str. Change-Id: Iee788aef2a13694d9482560977cbbf21c7f2c967 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-05Add iniparse to requirements.txtLinda Wang1-0/+1
Package iniparse is absent for functest, while it is required by rally.py Change-Id: Ia50216cfebdc9033f6a5f4abc6338951aaa2e8ab Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-04-19Add mock to requirements.txtLinda Wang1-0/+1
Package mock is absent for functest, while it is required by decorators.py. Change-Id: I0d042def0335e369c4e22a349e3068829e1d2c59 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-02-28[odl-sfc] Add function to retrieve a resource from HEATJuan Vidal1-0/+1
Introduces function to retrieve a HEAT client. For the moment, the only wrapper function is the one to retrieve resources. Added unit tests to cover the new functions. python-heatclient is added to requirements.txt and test_requirements.txt. Change-Id: I547138141c6aad611f2353599fb70a013c83058a Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
2017-02-24Integration of orchestra_ims testMorgan Richomme1-1/+2
JIRA: FUNCTEST-726 Change-Id: Ie6a35a817aa327a7e9143d93b5ea2582e99e0066 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-01-30Make sure we have installed python_novaclient==6.0.0jose.lausuch1-0/+1
Some requirements install novaclient 7.0.0 which belongs to Ocata. It shows some warnings that are not relevant. This will force to install the version for Newton. Change-Id: Ic9c6b3e9558ef59475099fa41316f56a8a3192a0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-04Reverted the file permissionhelenyao1-0/+0
There are some files whose permissions are changed unintendedly. Revert all of them. mode change 100644 <= 100755 functest/core/pytest_suite_runner.py mode change 100644 <= 100755 functest/opnfv_tests/openstack/vping/vping_base.py mode change 100644 <= 100755 functest/utils/openstack_tacker.py mode change 100644 <= 100755 functest/tests/unit/odl/test_odl.py mode change 100644 <= 100755 requirements.txt mode change 100644 <= 100755 test-requirements.txt Historical comments that changed the permission for reference changeID: Ia02760fd98aaab59a6cf0a90a2020b76e0c92df6 changeID: Id6815f96a11f2918bc2c7bc1c33f38c3f5754e11 changeID: Ic8c01b9b7ed86d3bdd9f5125504bc47f46a37700 changeID: I9f1a408f0e43bff4499575fa57cabd1a83d99b3a Change-Id: I1deadd77cc78f2186f82de79233aabe97ac21b26 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-12Upgraded the virtualenvhelenyao1-1/+1
JIRA: FUNCTEST-654 The virtualenv is too old and it will break the unit test if it runs the second time. Change-Id: I9f1a408f0e43bff4499575fa57cabd1a83d99b3a Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-09Merge "Added test cases for running the Python Tests included with SNAPS."Morgan Richomme1-1/+1
2016-12-08Added test cases for running the Python Tests included with SNAPS.spisarski1-1/+1
JIRA: FUNCTEST-570 The three new tests are: 1. healthcheck/connecton_check - Retrieves different OpenStack clients and may exercise a query function 2. healthcheck/api_check - Exercises many of the OpenStack APIs by performing basic CRUD operations 3. smoke/snaps_smoke - Creates VMs and some optionally test SSH into floating IPs Removed configured exernal network name and replaced it with a dynamic lookup. Fixed typo in run_tests.py Change-Id: Icb87a77c7cdd99dd9aa3a66bcc5a25b4b5935fef Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2016-12-05test-requirements.txt is added for unit test.helenyao1-0/+1
JIRA: FUNCTEST-639 Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt. This is the main reason to create a test-requirements.txt to hold all packages required by unit test. Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-11-25Lifted requirements.pip one level up to meet the basic structure of ↵helenyao1-0/+29
OpenStack project. JIRA: FUNCTEST-609 1. Lifted the requirements.pip 2. Renamed it to requirements.txt 3. Updated the areas that are affected Change-Id: If294f07fb5450f3ae6133fd46dc169b9bab451de Signed-off-by: helenyao <yaohelan@huawei.com>