Skip to content

Commit

Permalink
update test import paths to be from package.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepearson committed Aug 9, 2024
1 parent a697fb8 commit 6c7cd12
Show file tree
Hide file tree
Showing 21 changed files with 22 additions and 26 deletions.
2 changes: 1 addition & 1 deletion tests/test_add_patches_ngaruroro/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import geopandas
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
5 changes: 1 addition & 4 deletions tests/test_dem_generation_local_2/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@
import unittest
import json
import pathlib
import shutil
import rioxarray
import numpy
import shapely
import geopandas
import pdal
import logging
import gc

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
4 changes: 1 addition & 3 deletions tests/test_dem_generation_local_3/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@
import unittest
import json
import pathlib
import shutil
import rioxarray
import xarray
import numpy
import shapely
import geopandas
import pdal
import logging
import gc

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_multiple/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_waikanae_1/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_waikanae_2/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_westport_1/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_westport_2/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_westport_3/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_dem_generation_westport_4/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
3 changes: 2 additions & 1 deletion tests/test_many_stages_local/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import geopandas
import pdal
import logging
from src.geofabrics import runner

from geofabrics import runner
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_many_stages_multiple_1/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import sys
import logging

from src.geofabrics import runner
from geofabrics import runner
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_many_stages_multiple_2/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import sys
import logging

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_many_stages_waikanae/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging
import numpy

from src.geofabrics import runner
from geofabrics import runner
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_many_stages_westport/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import numpy
import rioxarray

from src.geofabrics import runner
from geofabrics import runner
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_riverbed_estimation_waikanae_1/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pytest
import numpy

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_riverbed_estimation_waikanae_2/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pytest
import numpy

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_riverbed_interpolated_waikanae/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import pytest
import numpy

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_riverbed_interpolated_waitara/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import pytest
import numpy

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_stopbanks_waikanae/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging
import numpy

from src.geofabrics import runner
from geofabrics import runner
from tests import base_test


Expand Down
2 changes: 1 addition & 1 deletion tests/test_waterways_estimation_waikanae/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import pytest
import numpy

from src.geofabrics import processor
from geofabrics import processor
from tests import base_test


Expand Down

0 comments on commit 6c7cd12

Please sign in to comment.