We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e923ca commit a40294bCopy full SHA for a40294b
test/rest.py
@@ -109,9 +109,11 @@ def test_get_connection(self):
109
url = '/repos/hpcugent/vsc-base/pulls/296/comments'
110
try:
111
connection = client.get_connection(Client.POST, url, body="{'body': 'test'}", headers={})
112
+ self.assertEqual(connection, "")
113
self.assertTrue(False, "Trying to post a comment unauthorized should result in HTTPError")
- print("\n\n --XXX-- connection: %s\n\n", connection)
114
- import sys
115
- sys.stdout.flush()
116
except HTTPError:
117
pass
+
+ import sys
118
+ print("\n\n\n --XXX-- connection: %s\n\n\n", connection, file=sys.stderr)
119
+ sys.stdout.flush()
0 commit comments