Browse Source

[to #42322933] disable image diffusion tests

master
Yingda Chen 3 years ago
parent
commit
681ea8cd17
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      tests/pipelines/test_image2image_generation.py
  2. +1
    -1
      tests/pipelines/test_image2image_translation.py

+ 1
- 1
tests/pipelines/test_image2image_generation.py View File

@@ -11,7 +11,7 @@ from modelscope.utils.test_utils import test_level


class Image2ImageGenerationTest(unittest.TestCase): class Image2ImageGenerationTest(unittest.TestCase):


@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 2, 'skip test in current test level')
def test_run_modelhub(self): def test_run_modelhub(self):
r"""We provide two generation modes, i.e., Similar Image Generation and Interpolation. r"""We provide two generation modes, i.e., Similar Image Generation and Interpolation.
You can pass the following parameters for different mode. You can pass the following parameters for different mode.


+ 1
- 1
tests/pipelines/test_image2image_translation.py View File

@@ -8,7 +8,7 @@ from modelscope.utils.test_utils import test_level


class Image2ImageTranslationTest(unittest.TestCase): class Image2ImageTranslationTest(unittest.TestCase):


@unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
@unittest.skipUnless(test_level() >= 2, 'skip test in current test level')
def test_run_modelhub(self): def test_run_modelhub(self):
r"""We provide three translation modes, i.e., uncropping, colorization and combination. r"""We provide three translation modes, i.e., uncropping, colorization and combination.
You can pass the following parameters for different mode. You can pass the following parameters for different mode.


Loading…
Cancel
Save