Add test ensuring that the type of position is float

This commit is contained in:
Jason R. Coombs committed 2016-09-03 13:32:16 -04:00
1 parent 288b13db0f
commit be0938dded
1 file changed
+5
+5
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):