<?xml version="1.0" encoding="utf-8"?>
<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:browser="http://namespaces.zope.org/browser"
           i18n_domain="schooltool.intervention">

  <include package="schooltool.common" />

  <include package="schooltool.basicperson" />
  <include package="schooltool.contact" />
  <include package="schooltool.schoolyear" />
  <include package="schooltool.timetable" />

  <include package="schooltool.intervention" />

  <interface
      interface="schooltool.intervention.browser.ftests.ftests.IInterventionFtestingSkin"
      type="zope.publisher.interfaces.browser.IBrowserSkinType"
      name="Intervention"
      />

    <browser:defaultSkin name="Intervention" />

  <!-- Provide local overrides of standard configurations-->
  <includeOverrides package="schooltool.basicperson" file="overrides.zcml" />

  <utility
      provides="schooltool.email.interfaces.IEmailUtility"
      factory="schooltool.intervention.sendmail.TestMailDelivery"
      />

  <browser:page
      name="update_responsible.html"
      for="schooltool.intervention.interfaces.IInterventionMessage"
      class="schooltool.intervention.browser.ftests.ftests.TestOnlyUpdateRecipientsView"
      permission="schooltool.edit"
      />

  <browser:page
      name="update_responsible.html"
      for="schooltool.intervention.interfaces.IInterventionGoal"
      class="schooltool.intervention.browser.ftests.ftests.TestOnlyUpdatePersonsResponsibleView"
      permission="schooltool.edit"
      />

  <adapter
      for="schooltool.course.interfaces.ISection"
      provides="schooltool.intervention.interfaces.IIndependentActivities"
      factory="schooltool.intervention.browser.ftests.ftests.getSectionIndependentActivities"
      trusted="true"
      />

  <adapter
      for="schooltool.intervention.browser.ftests.ftests.IWorksheetStub
           zope.publisher.interfaces.browser.IBrowserRequest"
      provides="zope.traversing.browser.interfaces.IAbsoluteURL"
      factory="schooltool.intervention.browser.ftests.ftests.WorksheetAbsoluteURLStub"
      />

</configure>

