Add test ensuring that the type of position is float

master
Jason R. Coombs 8 years ago
parent 288b13db0f
commit be0938dded
  1. 5
      wolframalpha/test_client.py

@ -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):

Loading…
Cancel
Save