Passed
Push — master ( 18b92d...e7c449 )
by Ramon
50s queued 12s
created

tests.test_here   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A TestHere.test_here() 0 6 1
1
from pathlib import Path
2
from unittest import TestCase
3
4
from barentsz import here
5
6
7
class TestHere(TestCase):
8
9
    def test_here(self):
10
        # EXECUTE
11
        this_dir = here()
12
13
        # VERIFY
14
        self.assertEqual(Path(__file__).parent, this_dir)
15