Skip to content

Commit 0d10e5e

Browse files
author
Takashi Matsuo
committed
Use absolute imports. Removed application and version from app.yaml.
1 parent afba764 commit 0d10e5e

7 files changed

+12
-14
lines changed

app.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# dummy app.yaml for nosegae
22

3-
application: python-docs-samples
4-
version: 1
53
api_version: 1
64
runtime: python27
75
threadsafe: true

datastore/ndb/modeling/tests/test_contact_with_group_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
import unittest
1919

20+
from datastore.ndb.modeling import contact_with_group_models as models
21+
2022
from google.appengine.ext import ndb
2123

2224
import test_base
2325

24-
from .. import contact_with_group_models as models
25-
2626

2727
class ContactTestCase(test_base.TestCase):
2828
"""A test case for the Contact model with groups."""

datastore/ndb/modeling/tests/test_keyproperty_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
import unittest
1919

20-
import test_base
20+
from datastore.ndb.modeling import keyproperty_models as models
2121

22-
from .. import keyproperty_models as models
22+
import test_base
2323

2424

2525
class ContactTestCase(test_base.TestCase):

datastore/ndb/modeling/tests/test_naive_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
import unittest
1919

20-
import test_base
20+
from datastore.ndb.modeling import naive_models as models
2121

22-
from .. import naive_models as models
22+
import test_base
2323

2424

2525
class ContactTestCase(test_base.TestCase):

datastore/ndb/modeling/tests/test_parent_child_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
import unittest
1919

20+
from datastore.ndb.modeling import parent_child_models as models
21+
2022
from google.appengine.ext import ndb
2123

2224
import test_base
2325

24-
from .. import parent_child_models as models
25-
2626

2727
class ContactTestCase(test_base.TestCase):
2828
"""A test case for the Contact model class with KeyProperty."""

datastore/ndb/modeling/tests/test_relation_model_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
import unittest
1919

20+
from datastore.ndb.modeling import relation_model_models as models
21+
2022
from google.appengine.ext import ndb
2123

2224
import test_base
2325

24-
from .. import relation_model_models as models
25-
2626

2727
class ContactTestCase(test_base.TestCase):
2828
"""A test case for the Contact model with relationship model."""

datastore/ndb/modeling/tests/test_structured_property_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
import unittest
1919

20-
import test_base
20+
from datastore.ndb.modeling import structured_property_models as models
2121

22-
from .. import structured_property_models as models
22+
import test_base
2323

2424

2525
class ContactTestCase(test_base.TestCase):

0 commit comments

Comments
 (0)