improve devices connection methods in tests 87/90587/3
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 22 Jun 2020 08:22:23 +0000 (10:22 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 23 Jun 2020 07:38:25 +0000 (09:38 +0200)
- improve log parser output
- move some constants to common/test_utils:
  - RESTconf base URL
  - ODL and nodes credentials
  - json and XML application-type headers
- improve functions to mount or unmount devices onto ODL
- centralize them in common/test_utils to use the same ones in all tests
  and speed up tests by removing some timers

TODO in next other changes:
- use test_utils get/post/del/put_requests methods in all tests
- replace the other timers with the log parser
- find an alternative to calling 'tail -f' host command
- address pylint issues

Change-Id: I2b97700e363a3773dcc1606448eedae57c8c6696
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>

No differences found