Skip to content

Commit

Permalink
.github/workflows: enable pylint on e2e tests
Browse files Browse the repository at this point in the history
Enable `pylint` on all the sub-directories of
`tests` including `e2e_tests`.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia committed Jan 3, 2024
1 parent 6a9fe87 commit 571f6a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
pylint api.pubsub
pylint api.user_manager
pylint api.user_models
pylint tests/unit_tests
pylint tests
- name: Run pytest
run: |
Expand Down
3 changes: 1 addition & 2 deletions tests/e2e_tests/test_user_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
import json
import pytest

from e2e_tests.conftest import db_create
from api.models import UserGroup
from api.user_models import User
from api.db import Database
from api.auth import Authentication

from .conftest import db_create

@pytest.mark.dependency(
depends=["e2e_tests/test_user_group_handler.py::test_create_user_groups"],
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e_tests/test_user_group_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
import pytest
from cloudevents.http import from_json

from e2e_tests.conftest import db_create, paginated_response_keys
from api.models import UserGroup
from api.db import Database
from .conftest import db_create, paginated_response_keys
from .listen_handler import create_listen_task


Expand Down

0 comments on commit 571f6a6

Please sign in to comment.