I'm afraid that still didn't help; I created the tests\regression directory
manually and downloaded the __init__.py into the new directory, and it still
complains about a non-existant tests.regression module when I run
tests\test.py.

Attempting to fool the script by changing the import path to just "import
regression" and running the script from within the tests directory gives
different (but still not helpful) results: lines and lines and lines of the
following error, repeated for every test:

INFO:root:Beginning test at Thu Jul 05 18:16:25 2007
INFO:root:Capabilities are: GENERIC, WIN
INFO:root:sys.platform = win32
INFO:root:Reading test plan from Y:\pyglet-1.0alpha1\tests\plan.txt
INFO:root:Testing window.WINDOW_OPEN.
ERROR:root:Cannot load test for window.WINDOW_OPEN
Traceback (most recent call last):
  File "Y:\pyglet-1.0alpha1\tests\test.py", line 212, in test
    module = self.get_module(options.test_root)
  File "Y:\pyglet-1.0alpha1\tests\test.py", line 194, in get_module
    module = __import__(name)
ImportError: No module named tests.window.WINDOW_OPEN

I feel like something pretty fundamental is going wrong here, and that I'll
kick myself when I find it.  Any suggestions?

 - cort

On 7/5/07, Alex Holkner <[EMAIL PROTECTED]> wrote:
>
>
> Cort wrote:
> > Hello,
> >
> > I'm trying to run the test suite included with the source
> > distribution, but I can't seem to get them working.  When I run tests/
> > test.py from the pyglet-1.0alpha1 directory, it fails to find the
> > tests.regression module.  I see previous posts about this module
> > missing, but no responses.  Am I missing something obvious?
> >
> That's my fault.  To run the test suite you'll need to create a
> tests/regression directory, then add its __init__.py from
> http://pyglet.googlecode.com/svn/trunk/tests/regression/__init__.py
>
> (Sorry, I didn't see any previous postings related to this; it's
> possible that google-groups is playing up).
>
> Cheers
> Alex.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to