Add test ensuring that the type of position is float

This commit is contained in:
Jason R. Coombs 2016-09-03 13:32:16 -04:00
parent 288b13db0f
commit be0938dded

View File

@ -65,6 +65,11 @@ def test_properties(temp_result):
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():
client = wolframalpha.Client('abcdefg')
with pytest.raises(Exception):