def test_day(self): root = "/first/second" current = "/first/second/dataset/year/month" level = calculate_recursion_depth(root, current) self.assertEqual(level, 'day')
def test_dataset(self): root = "/first/second" current = "/first/second" level = calculate_recursion_depth(root, current) self.assertEqual(level, 'dataset')