

from .pipeline_kandinskya_a import KandinskyVaaPipeline
from .pipeline_kandinsky2_2_controlnet import KandinskyVaaControlnetPipeline
from .pipeline_kandinsky2_2_controlnet_img2img import KandinskyVaaControlnetImgaImgPipeline
from .pipeline_kandinsky2_2_img2img import KandinskyVaaImgaImgPipeline
from .pipeline_kandinsky2_2_inpainting import KandinskyVaaInpaintPipeline
from .pipeline_kandinsky2_2_prior import KandinskyVaaPriorPipeline
from .pipeline_kandinsky2_2_prior_emb2emb import KandinskyVaaPriorEmbaEmbPipeline











import unittest
from pathlib import Path
from tempfile import TemporaryDirectory
from unittest.mock import Mock, patch

import diffusers.utils.hub_utils



class     a  (     unittest.TestCase    ):

     '''simple docstring'''





     @patch('''diffusers.utils.hub_utils.get_full_repo_name'''       )
     def 						lowerCamelCase_     (			self     :    List[Any]      ,					__snake_case     :    Mock       ):
         UpperCAmelCase_											=  '''full_repo_name'''
         with TemporaryDirectory() as tmpdir:
             # Dummy args values
             UpperCAmelCase_											=  Mock()
             UpperCAmelCase_											=  tmpdir
             UpperCAmelCase_											=  0
             UpperCAmelCase_											=  '''hub_token'''
             UpperCAmelCase_											=  '''dataset_name'''
             UpperCAmelCase_											=  0.01
             UpperCAmelCase_											=  10_00_00
             UpperCAmelCase_											=  1_00_00
             UpperCAmelCase_											=  0.01
             UpperCAmelCase_											=  0.02
             UpperCAmelCase_											=  0.03
             UpperCAmelCase_											=  0.0_005
             UpperCAmelCase_											=  0.000_001
             UpperCAmelCase_											=  1
             UpperCAmelCase_											=  10
             UpperCAmelCase_											=  0.001
             UpperCAmelCase_											=  0.1
             UpperCAmelCase_											=  0.2
             UpperCAmelCase_											=  True

             # Model card mush be rendered and saved
             diffusers.utils.hub_utils.create_model_card(__snake_case      ,					model_name='''model_name'''       )
             self.assertTrue((Path(__snake_case       ) / '''README.md''').is_file()       )





