

def test_get_pack_files_pack_doesnt_exist(self):
    resp = self.app.get('/v1/packs/views/files/doesntexist', expect_errors=True)
    self.assertEqual(resp.status_int, httplib.NOT_FOUND)

dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_packs_views.py PacksViewsControllerTestCase.test_get_pack_files_pack_doesnt_exist/original