@patch('core.db.backend.pg.os.makedirs')
    @patch('core.db.backend.pg.os.remove')
    @patch('core.db.backend.pg.shutil.move')
    def test_export_table_with_header(self, *args):
        table_name = 'repo_name.table_name'