summaryrefslogtreecommitdiff
path: root/conftest.py
Commit message (Collapse)AuthorAgeFilesLines
* conftest.py: Don't use deprecated get_marker() functionChandan Singh2019-01-191-1/+1
| | | | | | | | | | | | | | | | | Starting from `pytest` version 4.1.0, `Node.get_marker()` has been removed, and hence our tests break when running with newer versions of `pytest`. It was deprecated since a while back but it has recently been removed completely. Use `get_closest_marker()` as a replacement that is suggested in the changelog, and seems to work fine for our use case. See https://github.com/pytest-dev/pytest/pull/4564 for more context on the upstream issue. One way of verifying this change is that this should fix the recently added `tests-fedora-update-deps` job, that was failing before due to this issue. (cherry picked from commit c91784abcdfebef2e1e70612193b67efe7fa016a)
* Remove unused importsJürg Billeter2018-03-251-1/+0
|
* pylint - dealt with import warningsJames Ennis2018-03-141-1/+2
|
* Modify how the INTEGRATION_CACHE environment var is interpretedSam Thursfield2018-02-281-1/+1
| | | | | | | | When specifying a location for the integration tests cache directory, we would previously append '/integration-cache' to whatever path we were given. This is regarded as confusing. See: https://gitlab.com/BuildStream/buildstream/issues/267
* Store integration tests cache inside the current directory by defaultSam Thursfield2018-02-281-6/+6
| | | | | | | | Previously the code would default to a directory in `/tmp`, but this is often unsuitable as the Linux 'tmpfs' filesystem doesn't support extended file attributes and thus cannot store OSTree repositories. See: https://gitlab.com/BuildStream/buildstream/issues/267
* Merge integration tests into general testsTristan Maat2018-02-071-0/+54