fastest.file_handler.run_tests.execute_tests()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nop 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