mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Assert response headers
This commit is contained in:
@@ -245,7 +245,11 @@ class BasicTestCase(unittest.TestCase):
|
||||
|
||||
class TestCase(BasicTestCase):
|
||||
def doCheckFrame(self, obj, frame):
|
||||
pass
|
||||
if obj._headers == {} and frame is None:
|
||||
return
|
||||
if obj._headers is None and frame == {}:
|
||||
return
|
||||
self.assertEqual(obj._headers, frame[2]);
|
||||
|
||||
|
||||
def getFrameChecker(self):
|
||||
|
||||
Reference in New Issue
Block a user