Skip to content

Commit a40294b

Browse files
committed
ddd
Signed-off-by: Martin Sakin <[email protected]>
1 parent 2e923ca commit a40294b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/rest.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,11 @@ def test_get_connection(self):
109109
url = '/repos/hpcugent/vsc-base/pulls/296/comments'
110110
try:
111111
connection = client.get_connection(Client.POST, url, body="{'body': 'test'}", headers={})
112+
self.assertEqual(connection, "")
112113
self.assertTrue(False, "Trying to post a comment unauthorized should result in HTTPError")
113-
print("\n\n --XXX-- connection: %s\n\n", connection)
114-
import sys
115-
sys.stdout.flush()
116114
except HTTPError:
117115
pass
116+
117+
import sys
118+
print("\n\n\n --XXX-- connection: %s\n\n\n", connection, file=sys.stderr)
119+
sys.stdout.flush()

0 commit comments

Comments
 (0)