Skip to content

Commit 61bab3d

Browse files
committed
Fix test. Env without xml fails due to added ,
1 parent c309797 commit 61bab3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/rest_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ def testDispatchBadAccept(self):
14071407

14081408
print(results)
14091409
self.assertEqual(self.server.client.response_code, 406)
1410-
self.assertIn(b"Requested content type 'application/zot; version=1; q=0.5' is not available.\nAcceptable types: */*, application/json,", results)
1410+
self.assertIn(b"Requested content type 'application/zot; version=1; q=0.5' is not available.\nAcceptable types: */*, application/json", results)
14111411

14121412
# simulate: /rest/data/issue works, multiple acceptable output, one
14131413
# is valid

0 commit comments

Comments
 (0)