Completed
Push — master ( ed35bb...dcee7e )
by Bjorn
07:54
created

tests.test_get_executable()   A

Complexity

Conditions 2

Size

Total Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 2
dl 0
loc 2
rs 10
1
# -*- coding: utf-8 -*-
2
3
from dkfileutils import which
4
5
6
def test_which():
7
    # find exists on both win an *nix
8
    assert len(list(which.which('find'))) > 0
9
10
11
def test_get_executable():
12
    assert which.get_executable('find')
13