Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit abcdcee

Browse files
committed
improved error message - minor
1 parent 0e7bbec commit abcdcee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

CloudFlare/tests/test_add.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_app_invalid():
2929
# error 7000 No route for that URI
3030
assert int(e) == 7000
3131
assert str(e) == 'No route for that URI'
32-
print('error: %d=%s' % (int(e), str(e)), file=sys.stderr)
32+
print('Error expected: %d=%s' % (int(e), str(e)), file=sys.stderr)
3333

3434
def test_app_invalid_with_underscore():
3535
"""add API commands"""
@@ -42,7 +42,7 @@ def test_app_invalid_with_underscore():
4242
# error 7000 No route for that URI
4343
assert int(e) == 7000
4444
assert str(e) == 'No route for that URI'
45-
print('error: %d=%s' % (int(e), str(e)), file=sys.stderr)
45+
print('Error expected: %d=%s' % (int(e), str(e)), file=sys.stderr)
4646

4747
def test_app_invalid_with_dash():
4848
"""add API commands"""
@@ -55,7 +55,7 @@ def test_app_invalid_with_dash():
5555
# error 7000 No route for that URI
5656
assert int(e) == 7000
5757
assert str(e) == 'No route for that URI'
58-
print('error: %d=%s' % (int(e), str(e)), file=sys.stderr)
58+
print('Error expected: %d=%s' % (int(e), str(e)), file=sys.stderr)
5959

6060
if __name__ == '__main__':
6161
test_cloudflare(debug=True)

0 commit comments

Comments
 (0)