fastest.file_handler.run_tests   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A execute_tests() 0 7 1
1
import subprocess
2
from fastest.file_handler import test_command
3
4
5
def execute_tests(source):
6
    """
7
    Runs all tests within the tests directory
8
    :param source: str
9
    :return: None
10
    """
11
    subprocess.call(test_command(source))
12