Skip to content

Commit

Permalink
Remove some more unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lsankar4033 committed Aug 20, 2020
1 parent 89307ef commit eab2d83
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions lib/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,6 @@
import trio
from colors import color

TESTS_DIR = 'tests'


def all_test_files():
tests = []
for root, dirs, files in os.walk(TESTS_DIR):
# skip files in top-level
if root == 'tests':
continue

tests.extend([f'{root}/{f}' for f in files if f.endswith('.py')])

return tests


def file_to_module(script):
return script.replace('/', '.')[0:-3]
Expand All @@ -44,10 +30,6 @@ def run_module(module_str, args):
return (return_code, logs)


def file_matches_filter(file, file_filter):
return file_filter is None or file == file_filter


def run_test_files(client, files, args):
failures = {}
for file in files:
Expand Down

0 comments on commit eab2d83

Please sign in to comment.