def test_bad_request_opts(self):
        l = Lassie()
        l.request_opts = {
            'bad_key': True,
            'headers': {
                'User-Agent': 'lassie python'
            }
        }

        self.assertTrue('bad_key' not in l.request_opts)
        self.assertTrue('headers' in l.request_opts)
dataset/ETHPy150Open michaelhelmick/lassie/tests/test_core.py/LassieCoreTestCase.test_bad_request_opts/original