def test_get(self):
        with client.test_mode as t:
            t.register_json('/foo/42/', {'id': 42, 'description': 'bar',
                                         'name': 'foo'})
            result = self.res.get(42)
            self.assertEqual(result['id'], 42)
            self.assertEqual(result['name'], 'foo')
Test the _write_sheet() method
dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/ResourceTests.test_get--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/workbook/test_write_sheet.py/TestWriteSheet.test_write_sheet3