From 29448c0f578757799e16d138d3b1af42db85fde5 Mon Sep 17 00:00:00 2001 From: Yingda Chen Date: Sun, 30 Oct 2022 11:15:52 +0800 Subject: [PATCH] [to #42322933] disble vit --- tests/pipelines/test_face_emotion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/pipelines/test_face_emotion.py b/tests/pipelines/test_face_emotion.py index 907e15ee..96fe51a7 100644 --- a/tests/pipelines/test_face_emotion.py +++ b/tests/pipelines/test_face_emotion.py @@ -17,12 +17,12 @@ class FaceEmotionTest(unittest.TestCase): result = pipeline(input) print(result) - @unittest.skipUnless(test_level() >= 0, 'skip test in current test level') + @unittest.skip('skip since the model is set to private for now') def test_run_modelhub(self): face_emotion = pipeline(Tasks.face_emotion, model=self.model) self.pipeline_inference(face_emotion, self.img) - @unittest.skipUnless(test_level() >= 2, 'skip test in current test level') + @unittest.skip('skip since the model is set to private for now') def test_run_modelhub_default_model(self): face_emotion = pipeline(Tasks.face_emotion) self.pipeline_inference(face_emotion, self.img)