# Path: yatsm/io/helpers.py
# def mkdir_p(d):
# def find_stack_images(location, folder_pattern='L*', image_pattern='L*stack',
#                       date_index_start=9, date_index_end=16,
#                       date_format='%Y%j',
#                       ignore=['YATSM']):


import pytest
from yatsm.io import helpers
""" Tests for ``yatsm.io.helpers``
"""



def test_mkdir_p_success(tmpdir):
    helpers.mkdir_p(tmpdir.join('test').strpath)


def test_mkdir_p_succcess_exists(tmpdir):

# Path: yatsm/io/helpers.py
# def mkdir_p(d):
# def find_stack_images(location, folder_pattern='L*', image_pattern='L*stack',
#                       date_index_start=9, date_index_end=16,
#                       date_format='%Y%j',
#                       ignore=['YATSM']):


# Path: tests/io/test_helpers.py
import pytest
from yatsm.io import helpers

""" Tests for ``yatsm.io.helpers``
"""



def test_mkdir_p_success(tmpdir):
    helpers.mkdir_p(tmpdir.join('test').strpath)


def test_mkdir_p_succcess_exists(tmpdir):

    helpers.mkdir_p(tmpdir.join('test').strpath)