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

  • SEARCH
  • Home
  • 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 835239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:47:44+00:00 2026-05-15T04:47:44+00:00

I run my google app engine application in one of two ways… Directly by

  • 0

I run my google app engine application in one of two ways…

  1. Directly by using the application from http://localhost:8080
  2. Or execute unit tests from http://localhost:8080/test

When I create entities by using the application directly, the data is visible in the Development Console (dataStore view).

However, when I execute the unit tests… even if they succeed and I can put() and get() data, the data does not show in the dataStore view. Any idea why I can’t see my data? Even though it is there?

Notes:

  • I use GAEUnit for unit tests.
  • the data stored mostly consists of StringProperties().
  • I use Python and run Django on top of the GAE, don’t know if that matters.
  • 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-15T04:47:45+00:00Added an answer on May 15, 2026 at 4:47 am

    GAEUnit creates its own proxy stub datastore, using this code on line 357 of the current ‘2.0a for django’ release:

    temp_stub = datastore_file_stub.DatastoreFileStub(
        'GAEUnitDataStore', None, None, trusted=True)
    

    This proxy datastore is only held in memory, so is deleted once the tests finish running. It is also empty when the tests start running, ie it does not contain any data currently in the default development datastore.

    You can temporarily modify this to make it write to a file on your development system, eg:

    temp_stub = datastore_file_stub.DatastoreFileStub(
        'GAEUnitDataStore', '/path/to/gaeunit.datastore', None, trusted=True)
    

    Then run dev_appserver.py on a different port, eg:

    dev_appserver.py --port=8081 --datastore_path=/path/to/gaeunit.datastore /path/to/application/
    

    And then finally, open http://localhost:8081/_ah/admin in a browser to view the contents of the temporary datastore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All! I'm writing an application that would run on Google App Engine. I'm using
I'm working on an application that will run on Google App Engine. I would
Can an application developed on Google App Engine be run any where else without
From what I gather, Google Chrome can run browser plugins written using NPAPI .
How to do this on Google App Engine (Python): SELECT COUNT(DISTINCT user) FROM event
My application is running on Google App Engine and most of requests constantly gets
I've been using Pydev/Eclipse to develop Google App Engine (GAE) applications but I've been
I got a simple app on google app engine using django and I have
Is there a way to delete unused indexes in Google App Engine Java application?
I want to run Python code coverage tests for Google App Engine in Eclipse

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.