summaryrefslogtreecommitdiff
path: root/tests/sources/bzr.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sources/bzr.py')
-rw-r--r--tests/sources/bzr.py7
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):