Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
awarde96 committed Aug 28, 2024
1 parent df4f31d commit e336cac
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/test_encoder_bounding_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def setup_method(self, method):

def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "BoundingBox")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

def test_standard_Coverage(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "BoundingBox")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encoder_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def setup_method(self, method):

def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "Frame")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

def test_standard_Coverage(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "Frame")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encoder_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def setup_method(self, method):
@pytest.mark.skip(reason="Trajecotry not implemented in covjson-pydantic yet")
def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "Path")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

@pytest.mark.skip(reason="Trajecotry not implemented in covjson-pydantic yet")
def test_standard_Coverage(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encoder_shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def setup_method(self, method):

def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "shapefile")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

def test_standard_Coverage(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "shapefile")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encoder_time_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def setup_method(self, method):

def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "PointSeries")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

def test_standard_Coverage(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "PointSeries")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_encoder_wkt.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def setup_method(self, method):

def test_CoverageCollection(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "wkt")
assert encoder_obj.type == "CoverageCollection"
assert encoder_obj.covjson["type"] == "CoverageCollection"

def test_standard_Coverage(self):
encoder_obj = Covjsonkit().encode("CoverageCollection", "wkt")
Expand Down

0 comments on commit e336cac

Please sign in to comment.