File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44from setuptools import find_packages
55from setuptools import setup
66
7-
87long_description = "\n \n " .join (
98 [
109 open ("README.rst" ).read (),
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """Init and utils."""
3- from zope .i18nmessageid import MessageFactory
42
3+ from zope .i18nmessageid import MessageFactory
54
65_ = MessageFactory ("redturtle.rsync" )
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """Module where all interfaces, events and exceptions live."""
2+
33from zope .interface import Interface
44from zope .publisher .interfaces .browser import IDefaultBrowserLayer
55
Original file line number Diff line number Diff line change 44import pkg_resources
55import subprocess
66
7-
87domain = "redturtle.rsync"
98os .chdir (pkg_resources .resource_filename (domain , "" ))
109os .chdir ("../../../" )
Original file line number Diff line number Diff line change 99import sys
1010import transaction
1111
12-
1312logger = logging .getLogger (__name__ )
1413logger .setLevel (logging .INFO )
1514
Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2- """Setup tests for this package."""
2+
33from plone import api
44from plone .app .testing import setRoles
55from plone .app .testing import TEST_USER_ID
66from redturtle .rsync .testing import REDTURTLE_RSYNC_INTEGRATION_TESTING # noqa: E501
77
88import unittest
99
10-
1110try :
1211 from Products .CMFPlone .utils import get_installer
1312except ImportError :
You can’t perform that action at this time.
0 commit comments