diff options
Diffstat (limited to 'tests/external_plugins.py')
-rw-r--r-- | tests/external_plugins.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/external_plugins.py b/tests/external_plugins.py index 961c3b5ec..c64f37c3d 100644 --- a/tests/external_plugins.py +++ b/tests/external_plugins.py @@ -19,11 +19,14 @@ import pytest # used to specify a subset of test files from the repository to run. # These must be specified relative to the root of the repository. class ExternalPluginRepo(): - def __init__(self, name, url, ref, test_match_patterns=["tests"]): + def __init__(self, name, url, ref, test_match_patterns=None): self.name = name self.url = url self.ref = ref + if test_match_patterns is None: + test_match_patterns = ["tests"] + self._test_match_patterns = test_match_patterns self._clone_location = None |