Add test ensuring that the type of position is float
This commit is contained in:
parent
288b13db0f
commit
be0938dded
|
@ -65,6 +65,11 @@ def test_properties(temp_result):
|
||||||
assert len(info) == len(pods) + len(warnings) + len(assumptions)
|
assert len(info) == len(pods) + len(warnings) + len(assumptions)
|
||||||
|
|
||||||
|
|
||||||
|
def test_pod_position_is_float(temp_result):
|
||||||
|
pod = next(temp_result.pods)
|
||||||
|
assert isinstance(pod.position, float)
|
||||||
|
|
||||||
|
|
||||||
def test_invalid_app_id():
|
def test_invalid_app_id():
|
||||||
client = wolframalpha.Client('abcdefg')
|
client = wolframalpha.Client('abcdefg')
|
||||||
with pytest.raises(Exception):
|
with pytest.raises(Exception):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user