def METHOD_NAME(self, temp=None):
    from corehq.preindex.accessors import sync_design_doc
    if self.synced:
        # workaround emit_post_sync_signal called twice
        # https://code.djangoproject.com/ticket/17977
        # this is to speed up test initialization
        return
    self.synced = True
    for design in self.get_designs():
        sync_design_doc(design, temp=temp)