pombreda / gaeunit

Automatically exported from code.google.com/p/gaeunit
0 stars 0 forks source link

Tests don't run: "name 'datastore_types' is not defined" #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Make a class such as:

class TestGA(unittest.TestCase):

    def setUp(self):
        testutils.ClearEverything()

    def test_foo(self):
        self.assertEqual(2 + 2, 4)

2. Navigate to the appropriate URL (in my case, "/test?name=TestGA")

What is the expected output? What do you see instead?

Expected: Results of a test run

Actual: This error message:

name 'datastore_types' is not defined
Status: 404 Not Found
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Content-Length: 37

name 'datastore_types' is not defined

What version of the product are you using? On what operating system?
Google App Engine 1.3.3 devserver/SDK. Python 2.6. Windows 7.

Please provide any additional information below.
This kinda sucks; I can't run any tests now.
I tried restarting the devserver, but that didn't solve the problem.

Original issue reported on code.google.com by nick.heiner@gmail.com on 30 Jun 2010 at 5:14

GoogleCodeExporter commented 9 years ago
Workaround: clone the repo to a new Google App Engine app. It now works fine. 
Odd.

Original comment by nick.heiner@gmail.com on 1 Jul 2010 at 6:41