summaryrefslogtreecommitdiff
path: root/python/subunit/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2022-11-05 19:50:47 +0000
committerJelmer Vernooij <jelmer@jelmer.uk>2022-11-05 19:50:47 +0000
commita9508172f4e3adf38ff5c132216f74f77339c0d2 (patch)
tree49d2e4cbc855e6d06b2e2624d952a058dfb3b735 /python/subunit/tests
parent966545998f7fb94400fe262dccc48f1e858dd661 (diff)
parent73451b78c45941ed83c33ed1a2cbf01ef9c650ff (diff)
downloadsubunit-git-a9508172f4e3adf38ff5c132216f74f77339c0d2.tar.gz
Merge branch 'fix-filter-entrypoints' of https://github.com/mtreinish/subunit
Diffstat (limited to 'python/subunit/tests')
-rw-r--r--python/subunit/tests/test_subunit_filter.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/subunit/tests/test_subunit_filter.py b/python/subunit/tests/test_subunit_filter.py
index 7ca0081..d14415a 100644
--- a/python/subunit/tests/test_subunit_filter.py
+++ b/python/subunit/tests/test_subunit_filter.py
@@ -301,10 +301,7 @@ xfail todo
class TestFilterCommand(TestCase):
def run_command(self, args, stream):
- root = os.path.dirname(
- os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
- script_path = os.path.join(root, 'filters', 'subunit-filter')
- command = [sys.executable, script_path] + list(args)
+ command = ['subunit-filter'] + list(args)
ps = subprocess.Popen(
command, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)