Skip to content

Commit

Permalink
Merge pull request #1457 from Cadair/online-fix
Browse files Browse the repository at this point in the history
fix warning message in jsoc test_post_fail
  • Loading branch information
ayshih committed Jun 22, 2015
2 parents 1c873b3 + 7d9de09 commit daff1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunpy/net/jsoc/tests/test_jsoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_post_fail(recwarn):
client.request_data(res, return_resp=True)
w = recwarn.pop(Warning)
assert issubclass(w.category, Warning)
assert "Query 0 retuned status 4 with error Series none is not a valid series accessible from hmidb2." in str(w.message)
assert "Query 0 returned status 4 with error Series none is not a valid series accessible from hmidb2." == str(w.message)
assert w.filename
assert w.lineno

Expand Down

0 comments on commit daff1a7

Please sign in to comment.