

def test_headers_get_pack_file(self):
    resp = self.app.get('/v1/packs/views/file/dummy_pack_1/pack.yaml')
    self.assertEqual(resp.status_int, httplib.OK)
    self.assertTrue(('name : dummy_pack_1' in resp.body))
    resp.assertIsNotNone(resp.headers['ETag'])
    self.assertIsNotNone(resp.headers['Last-Modified'])

dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_packs_views.py PacksViewsControllerTestCase.test_headers_get_pack_file/VarMisuse@47/85 `self`->`resp`