Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7663753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:07:40+00:00 2026-05-31T14:07:40+00:00

Trying to run z3c.form.testing based code on Plone 4.1 and getting this exception Traceback

  • 0

Trying to run z3c.form.testing based code on Plone 4.1 and getting this exception

Traceback (most recent call last):
 File "/home/xxx/DATA/projects/SVN_xxx_eggs/Products.xxxPatient/Products/xxxPatient/tests/test_views.py", line 13, in <module>
   from z3c.form.testing import TestRequest
 File "/home/xxx/DATA/projects/xxx_FOLDER/xxx_414/buildout-cache/eggs/z3c.form-2.5.1-py2.6.egg/z3c/form/testing.py", line 23, in <module>
   from zope.app.testing import setup
ImportError: No module named testing

Do z3c.form needs special support or pindowns with Plone 4.1 to run unit tests? There might be need to refer testing modules in setup.py, but are there examples how to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:07:41+00:00Added an answer on May 31, 2026 at 2:07 pm

    I think you have not a version issue here. It seems that your testrunner can’t find the entire package zope.app.testing so you just need to specify the extra_requires keyword “test” (take a look here for z3c.form’s extras_require) in your buildout like this:

    [buildout]
    eggs +=
        z3c.form [test]
    test-packages =
        z3c.form
    
    [test]
    recipe = zc.recipe.testrunner
    defaults = ['--auto-color', '--auto-progress']
    eggs =
        ${buildout:eggs}
        ${buildout:test-packages}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to run this code . Basically I want the https://admin:qwerty123@ '$dmp':7777/set_param?'$params command
trying to run this basic form control example on msdn. At step 1 of
When trying run this code: At first it prints Process some_id BEFORE enter for
Trying to run this piece of code: void print_matrix(matrix* arg) { int i, j;
When trying to run the sample code here: http://www.nikhilk.net/Live-Search-REST-API.aspx I get: Error 52 The
I wrote this C program for Win32/c compiler but while i'm trying run this
When trying to run my project I get this error and I don´t know
Trying to run the following code in Qt Creator on Win7 64bit. #include <boost/date_time/posix_time/posix_time.hpp>
Trying to run this little perl program from parsCit: parsCit-client.pl e1.txt Too late for
trying to run a simple batch file in windows 2008 task scheduler call cleanup.bat

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.