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

tests.test_here.TestHere.test_here()   A

Complexity

Conditions 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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