def test_add_scopes(self):
        self.instance.add_scopes(['scope-one', 'scope-two'])

        self.post_called_with(url_for(''), data={
            'add_scopes': ['scope-one', 'scope-two'],
        })
Called to perform some sort of handshake.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_auths.py/TestAuthorization.test_add_scopes--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/tlslite/integration/HTTPTLSConnection.py/HTTPBaseTLSConnection._handshake