Skip to content

Commit

Permalink
Initial test
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Feb 16, 2024
1 parent 8d455a1 commit 6aa165b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ jobs:
test:
runs-on: ubuntu-latest
container:
# The CKAN version tag of the Solr and Postgres containers should match
# the one of the container the tests run on.
# You can switch this base image with a custom image tailored to your project
image: openknowledge/ckan-dev:2.9
services:
solr:
Expand Down
5 changes: 5 additions & 0 deletions ckanext/keycloak/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ def test_some_action():
pass
"""
import ckanext.keycloak.plugin as plugin
import pytest


@pytest.mark.ckan_config("ckan.plugins", "keycloak")
@pytest.mark.usefixtures("with_plugins")
def test_plugin():
# assert plugin_loaded("keycloak")
pass

0 comments on commit 6aa165b

Please sign in to comment.