Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshempelmann committed Jan 4, 2019
1 parent 656fe1c commit 3f27849
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions tests/test_eggshell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

# from .common import TESTDATA
from common import TESTDATA

from os.path import basename, join
import tempfile
Expand All @@ -13,14 +13,14 @@
from eggshell.nc import ocg_utils
from eggshell.nc import nc_utils
from eggshell.config import Paths
import flyingpigeon as fp
paths = Paths(fp)
import eggshell as es
paths = Paths(es)


def test_Paths():
assert "flyingpigeon/tests/testdata" in paths.testdata
assert 'flyingpigeon/data' in paths.data
assert 'flyingpigeon/data/shapefiles' in paths.shapefiles
assert "eggshell/tests/testdata" in paths.testdata
assert 'eggshell/data' in paths.data
assert 'eggshell/data/shapefiles' in paths.shapefiles


def test_local_path():
Expand All @@ -39,8 +39,8 @@ def test_ocgis_import():
# assert False == has_lambert


def test_gdal():
from flyingpigeon.subset import clipping
# def test_gdal():
# from flyingpigeon.subset import clipping


@pytest.mark.skip(reason="no way of currently testing this")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_nc_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from .common import TESTDATA
from common import TESTDATA

from eggshell.utils import local_path
from eggshell.nc import nc_utils
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ocg_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from .common import TESTDATA
from common import TESTDATA

from os.path import basename, join
import tempfile
Expand Down

0 comments on commit 3f27849

Please sign in to comment.