Commit Graph

17 Commits

Author SHA1 Message Date
Michał Mielewczyk
e70a807839
Merge pull request #200 from robertbaldyga/fix-exceptions
tests: Handle pytest test state properly
2019-11-27 11:11:31 +01:00
Robert Baldyga
116d13364b tests: Handle pytest test state properly
- Log information about test fail in case of exception.
- Skip teardown in case of test skip (setup is skipped by default).

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-27 10:42:25 +01:00
Michal Mielewczyk
9c31e15d48 Override DUT's disks in conftest.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2019-11-20 22:07:19 -05:00
Katarzyna Lapinska
783daba8d4 Improve error handling and exception messages 2019-11-14 10:47:57 +01:00
Katarzyna Lapinska
eedb4ded7c Make opencas plugin as singleton class 2019-11-06 08:32:29 +01:00
Michał Mielewczyk
5d643a48d8
Merge pull request #172 from robertbaldyga/update-installer
tests: Update installer
2019-11-05 14:49:39 +01:00
Robert Baldyga
7dd5a6fc12 tests: Remove unused adoptions
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-11-04 14:46:36 +01:00
Katarzyna Lapinska
291ea908aa Destroy Log instance at the end of teardown method 2019-11-04 13:30:29 +01:00
Katarzyna Lapinska
63937439b4 Add cache config and fix for cas modules names 2019-10-31 13:41:01 +01:00
Robert Baldyga
e4a31f51a5 Set working dir
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-30 16:15:54 +01:00
Robert Baldyga
fdf72785c7 Set repo_dir
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-30 16:00:24 +01:00
Robert Baldyga
c98b7e1bb3 Use git utils from cas API
Test framework does no longer provide git_utils, so we switch
to local implementation.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-30 10:30:14 +01:00
Robert Baldyga
ba9876ed52 Simplify waiting for connection
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-29 10:19:13 +01:00
Robert Baldyga
b65ff40bf0 Use "require_disk" mark
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-29 10:19:13 +01:00
Robert Baldyga
d5c39c8108 Append test-framework path before first imports from framework
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-29 08:53:18 +01:00
Katarzyna Lapinska
35d52caf74 Enable logging mechanism and example of logger usage in one test 2019-10-28 13:19:00 +01:00
Robert Baldyga
4fb82abeca Move OCL tests from test-framework repository
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-10-18 15:27:21 +02:00