def METHOD_NAME(self):
    """
    Test whether overriden validate method validates submitted path.
    """
    path = 'SERVICES/MyService/123456-crazy/brain_crazy_study/brain_crazy_mri/file1.dcm'
    data = {'service_name': 'MyService', 'path': path}
    servicefiles_serializer = ServiceFileSerializer()
    swift_manager = connect_storage(settings)
    # upload file to Swift storage
    with io.StringIO("test file") as file1:
        swift_manager.upload_obj(path, file1.read(), content_type='text/plain')
    for _ in range(20):
        if swift_manager.obj_exists(path):
            break
        time.sleep(0.2)
    self.assertEqual(servicefiles_serializer.validate(data).get('path'), path)
    # delete file from Swift storage
    swift_manager.delete_obj(path)