Skip to content

Commit

Permalink
Merge pull request #158 from GoogleCloudPlatform/datastore
Browse files Browse the repository at this point in the history
Adding datastore samples.
  • Loading branch information
Jonathan Wayne Parrott committed Feb 2, 2016
2 parents 41dd294 + 8e92bf8 commit 59b4ba0
Show file tree
Hide file tree
Showing 12 changed files with 1,336 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from nose.plugins.attrib import attr
from tests import CloudBaseTest

from .blog import main


@attr('slow')
class BlogTestCase(CloudBaseTest):
"""Simple test case that ensures the blog code doesn't throw any errors."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
from nose.plugins.attrib import attr
from tests import CloudBaseTest

from .wiki import main


@attr('slow')
class WikiTestCase(CloudBaseTest):
"""Simple test case that ensures the wiki code doesn't throw any errors."""

Expand Down
Empty file added datastore/__init__.py
Empty file.
4 changes: 4 additions & 0 deletions datastore/api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Cloud Datastore API Samples

<!-- auto-doc-link -->
<!-- end-auto-doc-link -->
Empty file added datastore/api/__init__.py
Empty file.
29 changes: 29 additions & 0 deletions datastore/api/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
indexes:
- kind: Task
properties:
- name: done
- name: priority
direction: desc
- kind: Task
properties:
- name: priority
- name: percent_complete
- kind: Task
properties:
- name: priority
direction: desc
- name: created
- kind: Task
properties:
- name: priority
- name: created
- kind: Task
properties:
- name: type
- name: priority
- kind: Task
properties:
- name: priority
- name: done
- name: created
direction: desc
Loading

0 comments on commit 59b4ba0

Please sign in to comment.