'Test the request to create a key with read only'

def test_create_key_with_readonly(self):

    self.instance.create_key('key_name', 'key    text', read_only=True)
    self.post_called_with(url_for('user/keys'), data={'title': 'key_name', 'key': 'key    text', 'read_only': True})
