-
Notifications
You must be signed in to change notification settings - Fork 5
/
base-plone-4.3.x.cfg
46 lines (39 loc) · 1.82 KB
/
base-plone-4.3.x.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[buildout]
extends =
https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/test-package.cfg
versions.cfg
sources.cfg
https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/test-versions.cfg
https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/test-versions-plone-4.cfg
package-name = opengever.core
package-namespace = opengever
test-egg = opengever.core[api, tests]
solr-host = localhost
solr-port = 8983
solr-core-name = testing
solr-zcml =
<configure xmlns:solr="http://namespaces.plone.org/solr">
<solr:connection host="${:solr-host}"
port="${:solr-port}"
base="/solr/${:solr-core-name}"
upload_blobs="true"/>
</configure>
zcml-additional-fragments += ${buildout:solr-zcml}
[test]
initialization +=
# Enable conditional readonly patches during tests
import os
os.environ['GEVER_READ_ONLY_MODE'] = 'true'
# Enable c.indexing during tests, but patch it to not defer operations
from opengever.testing.patch import patch_collective_indexing
patch_collective_indexing()
from collective.indexing import monkey
# Patch readonly support onto DemoStorage during tests
from opengever.testing.patch import patch_demostorage_to_support_readonly_mode
patch_demostorage_to_support_readonly_mode()
arguments = ['-s', '${buildout:package-namespace}', '-s', 'plonetheme', '--exit-with-status', '--auto-color', '--auto-progress', '--xml', '--package-path', '${buildout:directory}/${buildout:package-namespace}', '${buildout:package-namespace}', '--package-path', '${buildout:directory}/plonetheme', 'plonetheme']
eggs +=
${buildout:hotfix-eggs}
[versions]
# Override version from https://raw.githubusercontent.com/4teamwork/ftw-buildouts/master/test-versions.cfg
isort = 4.3.21