Skip to content

Commit 7671d6f

Browse files
committed
Added support for all packages
1 parent 0fa4163 commit 7671d6f

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/python-unit-tests.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Contrib Repo Tests
1+
name: Python Packages Test
22

33
on:
44
push:
55

66
jobs:
7-
build:
7+
unittests:
88
env:
99
# We use these variables to convert between tox and GHA version literals
1010
py36: 3.6
@@ -28,6 +28,7 @@ jobs:
2828
- name: Install tox
2929
run: pip install -U tox-factor
3030
- name: run tox
31-
run: tox -e '${{ matrix.python-version }}-{flask,django21,psycopg2}'
31+
run: tox -e '${{ matrix.python-version }}-{django21,django22,django30,django31,django32,
32+
psycopg2,flask,generic,sqlalchemy}'
3233
working-directory: ./python/sqlcommenter-python
3334

python/sqlcommenter-python/tests/flask/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_get_flask_info_in_request_context(client):
4040
'route': '/flask-info',
4141
}
4242
resp = client.get('/flask-info')
43-
assert json.loads(resp.data.decode('utf-8')) == {}
43+
assert json.loads(resp.data.decode('utf-8')) == expected
4444

4545

4646
def test_get_flask_info_in_404_error_context(client):

0 commit comments

Comments
 (0)