diff options
author | Benjamin Schubert <contact@benschubert.me> | 2020-10-11 12:46:25 +0000 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-10-15 20:17:58 +0000 |
commit | c958d4c9bb15e689b13408599245e360f215df21 (patch) | |
tree | 541ed5db6b5a4e3c68247969a34868c5f8bcd37f /tests/sources/bzr.py | |
parent | 567a9be1a29cd528a8eabc6471566a09a3bbd853 (diff) | |
download | buildstream-c958d4c9bb15e689b13408599245e360f215df21.tar.gz |
tests: Stop using the implicit source tests and explicitely run thembschubert/standardize-source-tests
This makes use of the new helper classes to generate the source tests,
making them explicit to run
Diffstat (limited to 'tests/sources/bzr.py')
-rw-r--r-- | tests/sources/bzr.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/sources/bzr.py b/tests/sources/bzr.py index 37e6dc343..52def6675 100644 --- a/tests/sources/bzr.py +++ b/tests/sources/bzr.py @@ -5,7 +5,7 @@ import os import pytest from buildstream.testing import cli # pylint: disable=unused-import -from buildstream.testing import generate_element +from buildstream.testing import generate_element, SourceTests from buildstream.testing._utils.site import HAVE_BZR from tests.testutils.repo.bzr import Bzr @@ -13,6 +13,11 @@ from tests.testutils.repo.bzr import Bzr DATA_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "bzr") +class TestBzrSource(SourceTests): + KIND = "bzr" + REPO = Bzr + + @pytest.mark.skipif(HAVE_BZR is False, reason="bzr is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR)) def test_fetch_checkout(cli, tmpdir, datafiles): |