summaryrefslogtreecommitdiff
path: root/gitlab/tests/test_gitlab.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-06-07 21:11:56 +0200
committerGitHub <noreply@github.com>2018-06-07 21:11:56 +0200
commitbbefb9936a18909d28d0f81b6ce99d4981ab8148 (patch)
tree50a2a05c4a99a5c18b6f6f0d99bdf40b05f17d98 /gitlab/tests/test_gitlab.py
parent92ca5c4f9e2c3a8651761c9b13a290df669d62a4 (diff)
parent3fa24ea8f5af361f39f1fb56ec911d381b680943 (diff)
downloadgitlab-bbefb9936a18909d28d0f81b6ce99d4981ab8148.tar.gz
Merge pull request #519 from jouve/silence
silence logs/warnings in unittests
Diffstat (limited to 'gitlab/tests/test_gitlab.py')
-rw-r--r--gitlab/tests/test_gitlab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/tests/test_gitlab.py b/gitlab/tests/test_gitlab.py
index 34b60b9..5174bd2 100644
--- a/gitlab/tests/test_gitlab.py
+++ b/gitlab/tests/test_gitlab.py
@@ -439,7 +439,7 @@ class TestGitlab(unittest.TestCase):
with HTTMock(resp_cont):
callback()
self.assertEqual(self.gl.private_token, token)
- self.assertDictContainsSubset(expected, self.gl.headers)
+ self.assertDictEqual(expected, self.gl.headers)
self.assertEqual(self.gl.user.id, id_)
def test_token_auth(self, callback=None):