summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMatthew Treinish <mtreinish@kortar.org>2019-02-26 09:59:49 -0500
committerMatthew Treinish <mtreinish@kortar.org>2019-12-15 14:26:36 -0500
commit68174a9d856556191910afced081865567a51da2 (patch)
tree8616e8d831616ff2743f99c4c9ed0f0cb5cd3303 /python
parentad491b7ac5775f532bec32809ad1c3e0ba5d6421 (diff)
downloadsubunit-git-68174a9d856556191910afced081865567a51da2.tar.gz
Cleanup tests and builds
Diffstat (limited to 'python')
-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 95aea36..507bcb7 100644
--- a/python/subunit/tests/test_subunit_filter.py
+++ b/python/subunit/tests/test_subunit_filter.py
@@ -304,10 +304,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)