File tree 3 files changed +9
-6
lines changed 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
10
10
services :
11
11
- postgresql
12
12
- python : 3.6
13
- env : TOXENV=py36-dj111-sqlite-coverage
14
- - python : 2.7
15
- env : TOXENV=py27-dj111-mysql_innodb-coverage
13
+ env : TOXENV=py36-dj111-mysql_innodb-coverage
16
14
services :
17
15
- mysql
16
+ - python : 2.7
17
+ env : TOXENV=py27-dj111-sqlite-xdist-coverage
18
18
- python : 3.6
19
19
env : TOXENV=checkqa,docs
20
20
Original file line number Diff line number Diff line change @@ -278,7 +278,10 @@ def test_a():
278
278
279
279
assert conn_default.vendor == 'sqlite'
280
280
db_name = conn_default.creation._get_test_db_name()
281
- assert 'file:memorydb' in db_name
281
+ if conn_default.features.can_share_in_memory_db:
282
+ assert 'file:memorydb' in db_name
283
+ else:
284
+ assert db_name == ":memory:"
282
285
283
286
assert conn_db2.vendor == 'sqlite'
284
287
db_name = conn_db2.creation._get_test_db_name()
Original file line number Diff line number Diff line change 19
19
dj19: Django>=1.9,<1.10
20
20
dj18: Django>=1.8,<1.9
21
21
22
- mysql_myisam: mysql-python ==1.2.5
23
- mysql_innodb: mysql-python ==1.2.5
22
+ mysql_myisam: mysqlclient ==1.4.2.post1
23
+ mysql_innodb: mysqlclient ==1.4.2.post1
24
24
25
25
postgres: psycopg2-binary
26
26
coverage: coverage-enable-subprocess
You can’t perform that action at this time.
0 commit comments