Skip to content

Commit

Permalink
Use absolute imports. Removed application and version from app.yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
Takashi Matsuo committed May 8, 2015
1 parent afba764 commit 0d10e5e
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
2 changes: 0 additions & 2 deletions app.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# dummy app.yaml for nosegae

application: python-docs-samples
version: 1
api_version: 1
runtime: python27
threadsafe: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

import unittest

from datastore.ndb.modeling import contact_with_group_models as models

from google.appengine.ext import ndb

import test_base

from .. import contact_with_group_models as models


class ContactTestCase(test_base.TestCase):
"""A test case for the Contact model with groups."""
Expand Down
4 changes: 2 additions & 2 deletions datastore/ndb/modeling/tests/test_keyproperty_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

import unittest

import test_base
from datastore.ndb.modeling import keyproperty_models as models

from .. import keyproperty_models as models
import test_base


class ContactTestCase(test_base.TestCase):
Expand Down
4 changes: 2 additions & 2 deletions datastore/ndb/modeling/tests/test_naive_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

import unittest

import test_base
from datastore.ndb.modeling import naive_models as models

from .. import naive_models as models
import test_base


class ContactTestCase(test_base.TestCase):
Expand Down
4 changes: 2 additions & 2 deletions datastore/ndb/modeling/tests/test_parent_child_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

import unittest

from datastore.ndb.modeling import parent_child_models as models

from google.appengine.ext import ndb

import test_base

from .. import parent_child_models as models


class ContactTestCase(test_base.TestCase):
"""A test case for the Contact model class with KeyProperty."""
Expand Down
4 changes: 2 additions & 2 deletions datastore/ndb/modeling/tests/test_relation_model_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

import unittest

from datastore.ndb.modeling import relation_model_models as models

from google.appengine.ext import ndb

import test_base

from .. import relation_model_models as models


class ContactTestCase(test_base.TestCase):
"""A test case for the Contact model with relationship model."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

import unittest

import test_base
from datastore.ndb.modeling import structured_property_models as models

from .. import structured_property_models as models
import test_base


class ContactTestCase(test_base.TestCase):
Expand Down

0 comments on commit 0d10e5e

Please sign in to comment.