# Path: shipwright/exceptions.py

# 
# Path: shipwright/targets.py



import pkg_resources
import pytest
from shipwright import exceptions, targets
from . import utils
from __future__ import absolute_import





def test_simple(tmpdir):
    tmp = tmpdir.join('shipwright-sample')
    path = str(tmp)
    source = pkg_resources.resource_filename(
        __name__,
        'examples/shipwright-sample',
    )
    repo = utils.create_repo(path, source)
    commit = repo.head.ref.commit.hexsha[:12]

# Path: shipwright/exceptions.py

# 
# Path: shipwright/targets.py



# Path: tests/integration/test_targets.py
import pkg_resources
import pytest
from shipwright import exceptions, targets
from . import utils

from __future__ import absolute_import





def test_simple(tmpdir):
    tmp = tmpdir.join('shipwright-sample')
    path = str(tmp)
    source = pkg_resources.resource_filename(
        __name__,
        'examples/shipwright-sample',
    )
    repo = utils.create_repo(path, source)
    commit = repo.head.ref.commit.hexsha[:12]

    assert targets.targets(path=path) == [