Refactor common code across tests 17/24017/1
authorRomanos Skiadas <rski@intracom-telecom.com>
Mon, 7 Nov 2016 09:45:33 +0000 (11:45 +0200)
committerRomanos Skiadas <rski@intracom-telecom.com>
Mon, 7 Nov 2016 10:08:57 +0000 (12:08 +0200)
commit4db8c4108dcedae322ba6a3fde812e63f746d0f9
tree7b836c092ae29b10ed59d44bf36d86569d92e1d5
parentb9eb7024b014cba0d299b1cf3b01e179c7d0482e
Refactor common code across tests

- Move collecting test results in a method in Results class
- Create a util function for asserting the environment has
  enough compute nodes

Change-Id: Ib7b9dfab7d2e9f50d5f352d3eadba4d4717ee750
Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
test/functest/results.py
test/functest/testcase_1.py
test/functest/testcase_2.py
test/functest/testcase_4.py
test/functest/utils.py