Make tests reflect changes
This commit is contained in:
parent
a784c88fa1
commit
d3046c7ede
|
@ -27,7 +27,7 @@ def test_basic(API_key):
|
||||||
res = client.query('30 deg C in deg F')
|
res = client.query('30 deg C in deg F')
|
||||||
assert len(res.pods) > 0
|
assert len(res.pods) > 0
|
||||||
results = list(res.results)
|
results = list(res.results)
|
||||||
assert results[0].text == '86 °F (degrees Fahrenheit)'
|
assert results[0].text == ['86 °F (degrees Fahrenheit)']
|
||||||
|
|
||||||
def test_invalid_app_id():
|
def test_invalid_app_id():
|
||||||
client = wolframalpha.Client('abcdefg')
|
client = wolframalpha.Client('abcdefg')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user