Skip to content

Commit

Permalink
test: check placeholders classes (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Jan 22, 2024
2 parents 386c448 + 2176e8b commit f11baa1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_Float.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Test the Float placeholder object."""
import ee
import pytest


class TestFloat:
"""Test the Float placeholder class."""

def test_init(self):
with pytest.raises(NotImplementedError):
ee.Float()

def test_name(self):
ee.Float.__name__ == "Float"
14 changes: 14 additions & 0 deletions tests/test_Int.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Test the Integer placeholder object."""
import ee
import pytest


class TestInteger:
"""Test the Integer placeholder class."""

def test_init(self):
with pytest.raises(NotImplementedError):
ee.Integer()

def test_name(self):
ee.Integer.__name__ == "Integer"

0 comments on commit f11baa1

Please sign in to comment.