From 1ec15e30ebd9ff1a3900fab3b44aedeb4de77558 Mon Sep 17 00:00:00 2001 From: Justin Kiggins Date: Mon, 16 Jul 2018 22:45:33 -0700 Subject: [PATCH] adds a test --- tests/datasets/test_utils.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/datasets/test_utils.py diff --git a/tests/datasets/test_utils.py b/tests/datasets/test_utils.py new file mode 100644 index 0000000..c090d35 --- /dev/null +++ b/tests/datasets/test_utils.py @@ -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