Skip to content

Commit

Permalink
Correct import in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainv committed May 27, 2024
1 parent fc0bbcb commit 9fa03ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions geefcc/misc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

from .miscellaneous import make_dir, makeblock, progress_bar

# End
8 changes: 4 additions & 4 deletions test/test_get_fcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Import
import os

from geefcc import get_fcc, ee_initialize
import geefcc

# "EARTHENGINE_TOKEN" for GitHub actions
# https://github.com/gee-community/geemap/discussions/1341
Expand All @@ -13,15 +13,15 @@
# with the name EARTHENGINE_TOKEN.

# Initialize GEE
ee_initialize(
geefcc.ee_initialize(
token_name="EARTHENGINE_TOKEN",
project="forestatrisk",
opt_url="https://earthengine-highvolume.googleapis.com")


def test_get_fcc_extent_tmf():
"""Testing get_fcc()."""
get_fcc(
geefcc.get_fcc(
# Extent for Reunion Island
aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519),
buff=0.08983152841195216,
Expand All @@ -35,7 +35,7 @@ def test_get_fcc_extent_tmf():

def test_get_fcc_extent_gfc():
"""Testing get_fcc()."""
get_fcc(
geefcc.get_fcc(
# Extent for Reunion Island
aoi=(55.21625137, -21.38986015, 55.83736038, -20.87180519),
buff=0.08983152841195216,
Expand Down

0 comments on commit 9fa03ea

Please sign in to comment.