def test_to_snake_case(self):
     assert utils.to_snake_case('MyCamelCase') == 'my_camel_case'
     assert utils.to_snake_case('myCamelCase') == 'my_camel_case'
     assert utils.to_snake_case('Camel') == 'camel'
 def _get_collection_name(cls):
     if cls._collection_name:
         return cls._collection_name
     else:
         return utils.to_snake_case(cls.__name__) + "s"