Skip to content

Commit

Permalink
adds a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Kiggins committed Jul 17, 2018
1 parent 4f07804 commit 1ec15e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/datasets/test_utils.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
from neuroglia.datasets.utils import get_neuroglia_data_home
import os

HOME = os.path.join(
os.path.expanduser("~"),
'data',
)

def test_get_neuroglia_data_home():
EXPECTED = os.path.join(HOME,'neuroglia')
data_home = get_neuroglia_data_home(data_home=HOME)
assert data_home==EXPECTED

0 comments on commit 1ec15e3

Please sign in to comment.