Skip to content

Commit

Permalink
More Mongo client code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
engelke committed Nov 14, 2018
1 parent 0a83c25 commit a490a1e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .kokoro/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/python@sha256:4b6ba8c199e96248980db4538065cddeea594138b9b9fb2d0388603922087747"
}

env_vars: {
key: "GCLOUD_PROJECT"
value: "python-docs-samples-tests"
}
2 changes: 1 addition & 1 deletion 3-binary-data/tests/test_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_list(self, app, model):

body = rv.data.decode('utf-8')
assert 'Book 1' in body, "Should show books"
assert len(re.findall('<h4>Book', body)) == 10, (
assert len(re.findall('<h4>Book', body)) <= 10, (
"Should not show more than 10 books")
assert 'More' in body, "Should have more than one page"

Expand Down
2 changes: 0 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
import mock
import pytest

PROJECT = 'python-docs-samples'


@pytest.fixture
def api_client_inject_project_id():
Expand Down
1 change: 0 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
'5-logging',
'6-pubsub',
'7-gce',
'optional-kubernetes-engine'
]

PYTEST_COMMON_ARGS = ['--junitxml=sponge_log.xml']
Expand Down

0 comments on commit a490a1e

Please sign in to comment.