File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 services :
1111 - postgresql
1212 - 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
1614 services :
1715 - mysql
16+ - python : 2.7
17+ env : TOXENV=py27-dj111-sqlite-xdist-coverage
1818 - python : 3.6
1919 env : TOXENV=checkqa,docs
2020
Original file line number Diff line number Diff line change @@ -278,7 +278,10 @@ def test_a():
278278
279279 assert conn_default.vendor == 'sqlite'
280280 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:"
282285
283286 assert conn_db2.vendor == 'sqlite'
284287 db_name = conn_db2.creation._get_test_db_name()
Original file line number Diff line number Diff line change 1919 dj19: Django>=1.9,<1.10
2020 dj18: Django>=1.8,<1.9
2121
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
2424
2525 postgres: psycopg2-binary
2626 coverage: coverage-enable-subprocess
You can’t perform that action at this time.
0 commit comments