


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

import diffusers.utils.hub_utils







class 				lowerCamelCase__       (	unittest.TestCase):





     @patch('''diffusers.utils.hub_utils.get_full_repo_name'''	)
     def 					__A (self		,					UpperCAmelCase	)					->       None:
      _lowercase											='''full_repo_name'''
      with TemporaryDirectory() as tmpdir:
       # Dummy args values
       _lowercase											=Mock()
       _lowercase											=tmpdir
       _lowercase											=0
       _lowercase											='''hub_token'''
       _lowercase											='''dataset_name'''
       _lowercase											=0.01
       _lowercase											=1_0_0_0_0_0
       _lowercase											=1_0_0_0_0
       _lowercase											=0.01
       _lowercase											=0.02
       _lowercase											=0.03
       _lowercase											=0.0005
       _lowercase											=0.00_0001
       _lowercase											=1
       _lowercase											=1_0
       _lowercase											=0.001
       _lowercase											=0.1
       _lowercase											=0.2
       _lowercase											=True

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





def     UpperCAmelCase_ (							__snake_case						)					->      str:







 """simple docstring"""


 return " ".join(sorted(set(sentence.split()						)						)						)


if __name__ == "__main__":
  import doctest

  doctest.testmod()

