File tree 6 files changed +22
-6
lines changed
container_engine/django_tutorial
managed_vms/django_cloudsql
6 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,12 @@ before_install:
24
24
install :
25
25
# TODO: unpin tox when the following issue is fixed
26
26
# https://bitbucket.org/hpk42/tox/issues/285/tox-220-breaks-some-toxini-config-files
27
- - pip install tox coveralls
27
+ - pip install tox
28
28
29
29
script :
30
30
- tox
31
31
32
- after_success :
33
- - coveralls
32
+ # Coveralls is disabled in travis because travis does not run all of our
33
+ # tests. The full suite of tests is run on an internal Jenkins instance.
34
+ # after_success:
35
+ # - coveralls
Original file line number Diff line number Diff line change 11
11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
+
15
+ import os
14
16
import re
17
+ from unittest .case import SkipTest
15
18
16
19
import tests
17
20
import webtest
22
25
class TestMySQLSample (tests .AppEngineTestbedCase ):
23
26
24
27
def setUp (self ):
28
+ if not os .path .exists ('/var/run/mysqld/mysqld.sock' ):
29
+ raise SkipTest ('No MySQL server found.' )
25
30
super (TestMySQLSample , self ).setUp ()
26
31
self .app = webtest .TestApp (main .app )
27
32
Original file line number Diff line number Diff line change 1
1
Django == 1.9.2
2
2
mysqlclient == 1.3.7
3
- wheel == 0.27 .0
3
+ wheel == 0.28 .0
4
4
gunicorn == 19.4.5
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ def test_multi_sort(self):
209
209
@eventually_consistent
210
210
def test_keys_only_query (self ):
211
211
keys = snippets .keys_only_query (self .client )
212
- self .to_delete_keys .extend (keys )
212
+ self .to_delete_entities .extend (self . client . query ( kind = 'Task' ). fetch () )
213
213
self .assertTrue (keys )
214
214
215
215
@eventually_consistent
Original file line number Diff line number Diff line change 1
1
Django == 1.9.2
2
2
mysqlclient == 1.3.7
3
- wheel == 0.27 .0
3
+ wheel == 0.28 .0
4
4
gunicorn == 19.4.5
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ commands =
41
41
nosetests --with-gae \
42
42
--gae-app =tests/resources/app.yaml \
43
43
--logging-level =INFO \
44
+ --with-xunit \
45
+ --xunit-testsuite-name gae \
46
+ --xunit-file nosetests-gae.xml \
44
47
{[testenv]commonargs} \
45
48
{posargs:appengine}
46
49
setenv =
@@ -72,6 +75,9 @@ commands =
72
75
nosetests \
73
76
--exclude-dir =appengine \
74
77
{[testenv]commonargs} \
78
+ --with-xunit \
79
+ --xunit-testsuite-name py27 \
80
+ --xunit-file nosetests-py27.xml \
75
81
{posargs}
76
82
77
83
[testenv:py34-all]
@@ -82,6 +88,9 @@ commands =
82
88
nosetests \
83
89
--exclude-dir =appengine \
84
90
{[testenv]commonargs} \
91
+ --with-xunit \
92
+ --xunit-testsuite-name py34 \
93
+ --xunit-file nosetests-py34.xml \
85
94
{posargs}
86
95
87
96
[testenv:pep8]
You can’t perform that action at this time.
0 commit comments